home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / libraries / mui23_autodocs.lha / MUI23_Autodocs / Source / mui_application.tex next >
LaTeX Document  |  1994-12-31  |  35.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ISO-8859 text default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 41 70 70 6c 69 63 61 |\section|{Applica|
|00000010| 74 69 6f 6e 2e 6d 75 69 | 7d 0a 0a 41 70 70 6c 69 |tion.mui|}..Appli|
|00000020| 63 61 74 69 6f 6e 20 63 | 6c 61 73 73 20 69 73 20 |cation c|lass is |
|00000030| 74 68 65 20 6d 61 73 74 | 65 72 20 63 6c 61 73 73 |the mast|er class|
|00000040| 20 66 6f 72 20 61 6c 6c | 0a 4d 55 49 20 61 70 70 | for all|.MUI app|
|00000050| 6c 69 63 61 74 69 6f 6e | 73 2e 20 49 74 20 73 65 |lication|s. It se|
|00000060| 72 76 65 73 20 61 73 20 | 61 20 6b 69 6e 64 20 6f |rves as |a kind o|
|00000070| 66 20 61 6e 63 68 6f 72 | 0a 66 6f 72 20 61 6c 6c |f anchor|.for all|
|00000080| 20 69 6e 70 75 74 2c 20 | 65 69 74 68 65 72 20 63 | input, |either c|
|00000090| 6f 6d 69 6e 67 20 66 72 | 6f 6d 20 74 68 65 20 75 |oming fr|om the u|
|000000a0| 73 65 72 20 6f 72 0a 73 | 6f 6d 65 77 68 65 72 65 |ser or.s|omewhere|
|000000b0| 20 66 72 6f 6d 20 74 68 | 65 20 73 79 73 74 65 6d | from th|e system|
|000000c0| 2c 20 65 2e 67 2e 20 63 | 6f 6d 6d 6f 64 69 74 69 |, e.g. c|ommoditi|
|000000d0| 65 73 0a 6f 72 20 41 52 | 65 78 78 20 6d 65 73 73 |es.or AR|exx mess|
|000000e0| 61 67 65 73 2e 0a 0a 41 | 6e 20 61 70 70 6c 69 63 |ages...A|n applic|
|000000f0| 61 74 69 6f 6e 20 63 61 | 6e 20 68 61 76 65 20 61 |ation ca|n have a|
|00000100| 6e 79 20 6e 75 6d 62 65 | 72 20 6f 66 20 73 75 62 |ny numbe|r of sub|
|00000110| 20 77 69 6e 64 6f 77 73 | 2c 0a 74 68 65 73 65 20 | windows|,.these |
|00000120| 77 69 6e 64 6f 77 73 20 | 61 72 65 20 74 68 65 20 |windows |are the |
|00000130| 63 68 69 6c 64 72 65 6e | 20 6f 66 20 74 68 65 20 |children| of the |
|00000140| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2e 0a 0a 5c 73 |applicat|ion...\s|
|00000150| 75 62 73 65 63 74 69 6f | 6e 5b 4d 55 49 4d 5c 5f |ubsectio|n[MUIM\_|
|00000160| 41 70 70 6c 69 63 61 74 | 69 6f 6e 5c 5f 47 65 74 |Applicat|ion\_Get|
|00000170| 4d 65 6e 75 43 68 65 63 | 6b 5d 7b 4d 55 49 4d 5c |MenuChec|k]{MUIM\|
|00000180| 5f 41 70 70 6c 69 63 61 | 74 69 6f 6e 5c 5f 47 65 |_Applica|tion\_Ge|
|00000190| 74 4d 65 6e 75 43 68 65 | 63 6b 20 28 56 34 29 20 |tMenuChe|ck (V4) |
|000001a0| 28 4f 42 53 4f 4c 45 54 | 45 29 7d 0a 0a 5c 73 75 |(OBSOLET|E)}..\su|
|000001b0| 62 73 75 62 73 65 63 74 | 69 6f 6e 2a 7b 53 59 4e |bsubsect|ion*{SYN|
|000001c0| 4f 50 53 49 53 7d 0a 44 | 6f 4d 65 74 68 6f 64 28 |OPSIS}.D|oMethod(|
|000001d0| 6f 62 6a 2c 4d 55 49 4d | 5c 5f 41 70 70 6c 69 63 |obj,MUIM|\_Applic|
|000001e0| 61 74 69 6f 6e 5c 5f 47 | 65 74 4d 65 6e 75 43 68 |ation\_G|etMenuCh|
|000001f0| 65 63 6b 2c 55 4c 4f 4e | 47 20 4d 65 6e 75 49 44 |eck,ULON|G MenuID|
|00000200| 29 3b 0a 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |);..\sub|subsecti|
|00000210| 6f 6e 2a 7b 46 55 4e 43 | 54 49 4f 4e 7d 0a 41 73 |on*{FUNC|TION}.As|
|00000220| 6b 20 77 68 65 74 68 65 | 72 20 61 20 63 68 65 63 |k whethe|r a chec|
|00000230| 6b 6d 61 72 6b 20 6d 65 | 6e 75 20 69 74 65 6d 20 |kmark me|nu item |
|00000240| 68 61 73 20 69 74 73 20 | 63 68 65 63 6b 6d 61 72 |has its |checkmar|
|00000250| 6b 0a 73 65 74 20 6f 72 | 20 63 6c 65 61 72 65 64 |k.set or| cleared|
|00000260| 2e 0a 54 68 65 20 61 70 | 70 6c 69 63 61 74 69 6f |..The ap|plicatio|
|00000270| 6e 20 77 69 6c 6c 20 61 | 73 6b 20 69 74 73 20 73 |n will a|sk its s|
|00000280| 75 62 20 77 69 6e 64 6f | 77 73 20 66 6f 72 20 61 |ub windo|ws for a|
|00000290| 0a 6d 65 6e 75 20 69 74 | 65 6d 20 77 69 74 68 20 |.menu it|em with |
|000002a0| 74 68 65 20 67 69 76 65 | 6e 20 69 64 20 61 6e 64 |the give|n id and|
|000002b0| 20 72 65 74 75 72 6e 20 | 74 68 65 20 73 74 61 74 | return |the stat|
|000002c0| 65 20 6f 66 0a 74 68 65 | 20 66 69 72 73 74 20 69 |e of.the| first i|
|000002d0| 74 65 6d 20 69 74 20 66 | 69 6e 64 73 2e 0a 0a 5c |tem it f|inds...\|
|000002e0| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 49 |subsubse|ction*{I|
|000002f0| 4e 50 55 54 53 7d 0a 5c | 62 65 67 69 6e 7b 64 65 |NPUTS}.\|begin{de|
|00000300| 73 63 72 69 70 74 69 6f | 6e 7d 0a 5c 69 74 65 6d |scriptio|n}.\item|
|00000310| 5b 4d 65 6e 75 49 44 5d | 20 2d 20 74 68 65 20 76 |[MenuID]| - the v|
|00000320| 61 6c 75 65 20 79 6f 75 | 20 77 72 6f 74 65 20 69 |alue you| wrote i|
|00000330| 6e 74 6f 20 74 68 65 0a | 55 73 65 72 44 61 74 61 |nto the.|UserData|
|00000340| 20 66 69 65 6c 64 20 6f | 66 20 73 74 72 75 63 74 | field o|f struct|
|00000350| 20 4e 65 77 4d 65 6e 75 | 2e 0a 5c 65 6e 64 7b 64 | NewMenu|..\end{d|
|00000360| 65 73 63 72 69 70 74 69 | 6f 6e 7d 0a 0a 5c 73 75 |escripti|on}..\su|
|00000370| 62 73 75 62 73 65 63 74 | 69 6f 6e 2a 7b 53 45 45 |bsubsect|ion*{SEE|
|00000380| 20 41 4c 53 4f 7d 0a 4d | 55 49 4d 5c 5f 41 70 70 | ALSO}.M|UIM\_App|
|00000390| 6c 69 63 61 74 69 6f 6e | 5c 5f 53 65 74 4d 65 6e |lication|\_SetMen|
|000003a0| 75 43 68 65 63 6b 2c 20 | 4d 55 49 41 5c 5f 41 70 |uCheck, |MUIA\_Ap|
|000003b0| 70 6c 69 63 61 74 69 6f | 6e 5c 5f 4d 65 6e 75 0a |plicatio|n\_Menu.|
|000003c0| 0a 5c 73 75 62 73 65 63 | 74 69 6f 6e 5b 4d 55 49 |.\subsec|tion[MUI|
|000003d0| 4d 5c 5f 41 70 70 6c 69 | 63 61 74 69 6f 6e 5c 5f |M\_Appli|cation\_|
|000003e0| 47 65 74 4d 65 6e 75 53 | 74 61 74 65 5d 7b 4d 55 |GetMenuS|tate]{MU|
|000003f0| 49 4d 5c 5f 41 70 70 6c | 69 63 61 74 69 6f 6e 5c |IM\_Appl|ication\|
|00000400| 5f 47 65 74 4d 65 6e 75 | 53 74 61 74 65 20 28 56 |_GetMenu|State (V|
|00000410| 34 29 20 28 4f 42 53 4f | 4c 45 54 45 29 7d 0a 0a |4) (OBSO|LETE)}..|
|00000420| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|00000430| 53 59 4e 4f 50 53 49 53 | 7d 0a 44 6f 4d 65 74 68 |SYNOPSIS|}.DoMeth|
|00000440| 6f 64 28 6f 62 6a 2c 4d | 55 49 4d 5c 5f 41 70 70 |od(obj,M|UIM\_App|
|00000450| 6c 69 63 61 74 69 6f 6e | 5c 5f 47 65 74 4d 65 6e |lication|\_GetMen|
|00000460| 75 53 74 61 74 65 2c 55 | 4c 4f 4e 47 20 4d 65 6e |uState,U|LONG Men|
|00000470| 75 49 44 29 3b 0a 0a 5c | 73 75 62 73 75 62 73 65 |uID);..\|subsubse|
|00000480| 63 74 69 6f 6e 2a 7b 46 | 55 4e 43 54 49 4f 4e 7d |ction*{F|UNCTION}|
|00000490| 0a 41 73 6b 20 77 68 65 | 74 68 65 72 20 61 20 6d |.Ask whe|ther a m|
|000004a0| 65 6e 75 20 69 74 65 6d | 20 69 73 20 65 6e 61 62 |enu item| is enab|
|000004b0| 6c 65 64 20 6f 72 20 64 | 69 73 61 62 6c 65 64 2e |led or d|isabled.|
|000004c0| 0a 54 68 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |.The app|lication|
|000004d0| 20 77 69 6c 6c 20 61 73 | 6b 20 69 74 73 20 73 75 | will as|k its su|
|000004e0| 62 20 77 69 6e 64 6f 77 | 73 20 66 6f 72 20 61 0a |b window|s for a.|
|000004f0| 6d 65 6e 75 20 69 74 65 | 6d 20 77 69 74 68 20 74 |menu ite|m with t|
|00000500| 68 65 20 67 69 76 65 6e | 20 69 64 20 61 6e 64 20 |he given| id and |
|00000510| 72 65 74 75 72 6e 20 74 | 68 65 20 73 74 61 74 65 |return t|he state|
|00000520| 20 6f 66 0a 74 68 65 20 | 66 69 72 73 74 20 69 74 | of.the |first it|
|00000530| 65 6d 20 69 74 20 66 69 | 6e 64 73 2e 0a 0a 5c 73 |em it fi|nds...\s|
|00000540| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 49 4e |ubsubsec|tion*{IN|
|00000550| 50 55 54 53 7d 0a 20 20 | 20 5c 62 65 67 69 6e 7b |PUTS}. | \begin{|
|00000560| 64 65 73 63 72 69 70 74 | 69 6f 6e 7d 0a 5c 69 74 |descript|ion}.\it|
|00000570| 65 6d 5b 4d 65 6e 75 49 | 44 5d 20 2d 20 74 68 65 |em[MenuI|D] - the|
|00000580| 20 76 61 6c 75 65 20 79 | 6f 75 20 77 72 6f 74 65 | value y|ou wrote|
|00000590| 20 69 6e 74 6f 20 74 68 | 65 0a 55 73 65 72 44 61 | into th|e.UserDa|
|000005a0| 74 61 20 66 69 65 6c 64 | 20 6f 66 20 73 74 72 75 |ta field| of stru|
|000005b0| 63 74 20 4e 65 77 4d 65 | 6e 75 2e 0a 5c 65 6e 64 |ct NewMe|nu..\end|
|000005c0| 7b 64 65 73 63 72 69 70 | 74 69 6f 6e 7d 0a 0a 5c |{descrip|tion}..\|
|000005d0| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 53 |subsubse|ction*{S|
|000005e0| 45 45 20 41 4c 53 4f 7d | 0a 4d 55 49 4d 5c 5f 41 |EE ALSO}|.MUIM\_A|
|000005f0| 70 70 6c 69 63 61 74 69 | 6f 6e 5c 5f 53 65 74 4d |pplicati|on\_SetM|
|00000600| 65 6e 75 53 74 61 74 65 | 2c 20 4d 55 49 41 5c 5f |enuState|, MUIA\_|
|00000610| 41 70 70 6c 69 63 61 74 | 69 6f 6e 5c 5f 4d 65 6e |Applicat|ion\_Men|
|00000620| 75 0a 0a 5c 73 75 62 73 | 65 63 74 69 6f 6e 5b 4d |u..\subs|ection[M|
|00000630| 55 49 4d 5c 5f 41 70 70 | 6c 69 63 61 74 69 6f 6e |UIM\_App|lication|
|00000640| 5c 5f 49 6e 70 75 74 5d | 7b 4d 55 49 4d 5c 5f 41 |\_Input]|{MUIM\_A|
|00000650| 70 70 6c 69 63 61 74 69 | 6f 6e 5c 5f 49 6e 70 75 |pplicati|on\_Inpu|
|00000660| 74 20 28 56 34 29 7d 0a | 0a 5c 73 75 62 73 75 62 |t (V4)}.|.\subsub|
|00000670| 73 65 63 74 69 6f 6e 2a | 7b 53 59 4e 4f 50 53 49 |section*|{SYNOPSI|
|00000680| 53 7d 0a 44 6f 4d 65 74 | 68 6f 64 28 6f 62 6a 2c |S}.DoMet|hod(obj,|
|00000690| 4d 55 49 4d 5c 5f 41 70 | 70 6c 69 63 61 74 69 6f |MUIM\_Ap|plicatio|
|000006a0| 6e 5c 5f 49 6e 70 75 74 | 2c 4c 4f 4e 47 42 49 54 |n\_Input|,LONGBIT|
|000006b0| 53 20 24 5c 61 73 74 24 | 73 69 67 6e 61 6c 29 3b |S $\ast$|signal);|
|000006c0| 0a 0a 5c 73 75 62 73 75 | 62 73 65 63 74 69 6f 6e |..\subsu|bsection|
|000006d0| 2a 7b 46 55 4e 43 54 49 | 4f 4e 7d 0a 54 68 65 20 |*{FUNCTI|ON}.The |
|000006e0| 4d 55 49 20 73 79 73 74 | 65 6d 20 69 74 73 65 6c |MUI syst|em itsel|
|000006f0| 66 20 64 6f 65 73 20 6e | 6f 74 20 77 61 69 74 20 |f does n|ot wait |
|00000700| 66 6f 72 20 61 6e 79 20 | 75 73 65 72 20 69 6e 70 |for any |user inp|
|00000710| 75 74 2e 0a 49 74 20 6a | 75 73 74 20 74 65 6c 6c |ut..It j|ust tell|
|00000720| 73 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |s your a|pplicati|
|00000730| 6f 6e 20 77 68 69 63 68 | 20 73 69 67 6e 61 6c 20 |on which| signal |
|00000740| 62 69 74 73 20 69 74 0a | 68 61 73 20 61 6c 6c 6f |bits it.|has allo|
|00000750| 63 61 74 65 64 2c 20 74 | 68 65 6e 20 69 74 27 73 |cated, t|hen it's|
|00000760| 20 75 70 20 74 6f 20 79 | 6f 75 20 74 6f 20 63 61 | up to y|ou to ca|
|00000770| 6c 6c 20 4d 55 49 73 20 | 69 6e 70 75 74 0a 68 61 |ll MUIs |input.ha|
|00000780| 6e 64 6c 65 20 66 75 6e | 63 74 69 6f 6e 20 77 68 |ndle fun|ction wh|
|00000790| 65 6e 20 6f 6e 65 20 6f | 66 20 74 68 65 73 65 20 |en one o|f these |
|000007a0| 73 69 67 6e 61 6c 73 20 | 67 65 74 73 20 73 65 74 |signals |gets set|
|000007b0| 2e 0a 0a 49 6e 20 61 20 | 73 69 6d 70 6c 65 20 4d |...In a |simple M|
|000007c0| 55 49 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 79 |UI appli|cation y|
|000007d0| 6f 75 20 77 6f 75 6c 64 | 20 6a 75 73 74 20 57 61 |ou would| just Wa|
|000007e0| 69 74 28 29 0a 66 6f 72 | 20 74 68 65 73 65 20 73 |it().for| these s|
|000007f0| 69 67 6e 61 6c 73 20 61 | 6e 64 20 63 61 6c 6c 20 |ignals a|nd call |
|00000800| 4d 55 49 20 77 68 65 6e | 20 6f 6e 65 20 69 73 20 |MUI when| one is |
|00000810| 72 65 63 65 69 76 65 64 | 2e 0a 48 6f 77 65 76 65 |received|..Howeve|
|00000820| 72 2c 20 79 6f 75 20 63 | 61 6e 20 70 65 72 66 65 |r, you c|an perfe|
|00000830| 63 74 6c 79 20 61 6c 6c | 6f 63 61 74 65 20 73 6f |ctly all|ocate so|
|00000840| 6d 65 20 73 69 67 6e 61 | 6c 20 62 69 74 73 0a 79 |me signa|l bits.y|
|00000850| 6f 75 72 73 65 6c 66 20 | 61 6e 64 20 69 6e 63 6c |ourself |and incl|
|00000860| 75 64 65 20 74 68 65 6d | 20 69 6e 20 79 6f 75 72 |ude them| in your|
|00000870| 20 57 61 69 74 28 29 20 | 63 6f 6d 6d 61 6e 64 2e | Wait() |command.|
|00000880| 0a 59 6f 75 20 6e 65 65 | 64 6e 27 74 20 65 76 65 |.You nee|dn't eve|
|00000890| 6e 20 57 61 69 74 28 29 | 2c 20 79 6f 75 72 20 61 |n Wait()|, your a|
|000008a0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 63 6f 75 6c 64 |pplicati|on could|
|000008b0| 0a 6d 61 79 62 65 20 63 | 61 6c 63 75 6c 61 74 65 |.maybe c|alculate|
|000008c0| 20 73 6f 6d 65 20 66 72 | 61 63 74 61 6c 20 67 72 | some fr|actal gr|
|000008d0| 61 70 68 69 63 73 20 6f | 72 20 63 6f 70 79 0a 64 |aphics o|r copy.d|
|000008e0| 69 73 6b 73 2c 20 74 68 | 65 20 6f 6e 6c 79 20 69 |isks, th|e only i|
|000008f0| 6d 70 6f 72 74 61 6e 74 | 20 74 68 69 6e 67 20 69 |mportant| thing i|
|00000900| 73 20 74 68 61 74 20 79 | 6f 75 20 63 61 6c 6c 0a |s that y|ou call.|
|00000910| 4d 55 49 27 73 20 69 6e | 70 75 74 20 6d 65 74 68 |MUI's in|put meth|
|00000920| 6f 64 20 77 68 65 6e 20 | 6f 6e 65 20 6f 66 20 74 |od when |one of t|
|00000930| 68 65 20 4d 55 49 20 61 | 6c 6c 6f 63 61 74 65 64 |he MUI a|llocated|
|00000940| 0a 73 69 67 6e 61 6c 73 | 20 61 72 72 69 76 65 73 |.signals| arrives|
|00000950| 2e 0a 0a 54 68 65 20 75 | 73 75 61 6c 20 77 61 79 |...The u|sual way|
|00000960| 20 6f 66 20 63 6f 6d 6d | 75 6e 69 63 61 74 69 6f | of comm|unicatio|
|00000970| 6e 20 77 69 74 68 20 79 | 6f 75 72 20 75 73 65 72 |n with y|our user|
|00000980| 0a 69 6e 74 65 72 66 61 | 63 65 20 69 73 20 76 69 |.interfa|ce is vi|
|00000990| 61 20 72 65 74 75 72 6e | 20 69 64 73 2e 20 45 76 |a return| ids. Ev|
|000009a0| 65 72 79 20 61 63 74 69 | 6f 6e 20 68 61 70 70 65 |ery acti|on happe|
|000009b0| 6e 69 6e 67 0a 74 6f 20 | 74 68 65 20 47 55 49 20 |ning.to |the GUI |
|000009c0| 63 61 6e 20 63 72 65 61 | 74 65 20 72 65 74 75 72 |can crea|te retur|
|000009d0| 6e 20 69 64 73 2c 20 65 | 2e 67 2e 20 70 72 65 73 |n ids, e|.g. pres|
|000009e0| 73 69 6e 67 20 61 0a 62 | 75 74 74 6f 6e 20 6f 72 |sing a.b|utton or|
|000009f0| 20 74 72 79 69 6e 67 20 | 74 6f 20 63 6c 6f 73 65 | trying |to close|
|00000a00| 20 61 20 77 69 6e 64 6f | 77 2e 20 4d 55 49 20 62 | a windo|w. MUI b|
|00000a10| 75 66 66 65 72 73 20 74 | 68 65 73 65 0a 69 64 73 |uffers t|hese.ids|
|00000a20| 20 61 6e 64 20 75 73 65 | 73 20 74 68 65 6d 20 61 | and use|s them a|
|00000a30| 73 20 72 65 73 75 6c 74 | 20 63 6f 64 65 73 20 66 |s result| codes f|
|00000a40| 6f 72 20 74 68 65 20 69 | 6e 70 75 74 20 6d 65 74 |or the i|nput met|
|00000a50| 68 6f 64 2e 0a 54 68 61 | 74 73 20 77 68 65 72 65 |hod..Tha|ts where|
|00000a60| 20 79 6f 75 20 63 61 6e | 20 67 65 74 20 69 74 20 | you can| get it |
|00000a70| 66 72 6f 6d 20 61 6e 64 | 20 74 61 6b 65 20 74 68 |from and| take th|
|00000a80| 65 20 61 70 70 72 6f 70 | 72 69 61 74 65 0a 61 63 |e approp|riate.ac|
|00000a90| 74 69 6f 6e 73 2e 0a 0a | 4e 6f 77 20 6c 65 74 73 |tions...|Now lets|
|00000aa0| 20 68 61 76 65 20 61 20 | 6c 6f 6f 6b 20 6f 6e 20 | have a |look on |
|00000ab0| 61 20 75 73 75 61 6c 20 | 69 6e 70 75 74 20 6c 6f |a usual |input lo|
|00000ac0| 6f 70 20 6f 66 20 61 0a | 4d 55 49 20 61 70 70 6c |op of a.|MUI appl|
|00000ad0| 69 63 61 74 69 6f 6e 2e | 20 49 6d 61 67 69 6e 65 |ication.| Imagine|
|00000ae0| 20 79 6f 75 20 68 61 76 | 65 20 61 6e 20 50 6c 61 | you hav|e an Pla|
|00000af0| 79 20 61 6e 64 20 61 0a | 43 61 6e 63 65 6c 20 62 |y and a.|Cancel b|
|00000b00| 75 74 74 6f 6e 20 61 6e | 64 20 68 61 76 65 20 70 |utton an|d have p|
|00000b10| 72 65 76 69 6f 75 73 6c | 79 20 74 6f 6c 64 20 74 |reviousl|y told t|
|00000b20| 68 65 6d 0a 74 6f 20 72 | 65 74 75 72 6e 20 49 44 |hem.to r|eturn ID|
|00000b30| 5c 5f 50 4c 41 59 20 61 | 6e 64 20 49 44 5c 5f 43 |\_PLAY a|nd ID\_C|
|00000b40| 41 4e 43 45 4c 20 77 68 | 65 6e 20 70 72 65 73 73 |ANCEL wh|en press|
|00000b50| 65 64 2e 0a 28 73 65 65 | 20 4d 55 49 4d 5c 5f 4e |ed..(see| MUIM\_N|
|00000b60| 6f 74 69 66 79 20 61 6e | 64 20 4d 55 49 4d 5c 5f |otify an|d MUIM\_|
|00000b70| 41 70 70 6c 69 63 61 74 | 69 6f 6e 5c 5f 52 65 74 |Applicat|ion\_Ret|
|00000b80| 75 72 6e 49 44 0a 6f 6e | 20 69 6e 66 6f 72 6d 61 |urnID.on| informa|
|00000b90| 74 69 6f 6e 20 61 62 6f | 75 74 20 74 68 65 73 65 |tion abo|ut these|
|00000ba0| 20 74 6f 70 69 63 73 29 | 2e 20 59 6f 75 72 20 69 | topics)|. Your i|
|00000bb0| 6e 70 75 74 0a 6c 6f 6f | 70 20 77 6f 75 6c 64 20 |nput.loo|p would |
|00000bc0| 6c 6f 6f 6b 20 6c 69 6b | 65 20 74 68 69 73 3a 0a |look lik|e this:.|
|00000bd0| 5c 73 6d 61 6c 6c 20 5c | 62 65 67 69 6e 7b 76 65 |\small \|begin{ve|
|00000be0| 72 62 61 74 69 6d 7d 0a | 0a 20 20 20 77 68 69 6c |rbatim}.|. whil|
|00000bf0| 65 20 28 72 75 6e 6e 69 | 6e 67 29 0a 20 20 20 7b |e (runni|ng). {|
|00000c00| 0a 20 20 20 20 20 20 55 | 4c 4f 4e 47 20 73 69 67 |. U|LONG sig|
|00000c10| 6e 61 6c 73 3b 0a 0a 20 | 20 20 20 20 20 73 77 69 |nals;.. | swi|
|00000c20| 74 63 68 20 28 44 6f 4d | 65 74 68 6f 64 28 61 70 |tch (DoM|ethod(ap|
|00000c30| 70 2c 4d 55 49 4d 5f 41 | 70 70 6c 69 63 61 74 69 |p,MUIM_A|pplicati|
|00000c40| 6f 6e 5f 49 6e 70 75 74 | 2c 26 73 69 67 6e 61 6c |on_Input|,&signal|
|00000c50| 73 29 29 0a 20 20 20 20 | 20 20 7b 0a 20 20 20 20 |s)). | {. |
|00000c60| 20 20 20 20 20 63 61 73 | 65 20 49 44 5f 50 4c 41 | cas|e ID_PLA|
|00000c70| 59 3a 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 50 |Y:. | P|
|00000c80| 6c 61 79 53 6f 75 6e 64 | 28 29 3b 0a 20 20 20 20 |laySound|();. |
|00000c90| 20 20 20 20 20 20 20 20 | 62 72 65 61 6b 3b 0a 0a | |break;..|
|00000ca0| 20 20 20 20 20 20 20 20 | 20 63 61 73 65 20 49 44 | | case ID|
|00000cb0| 5f 43 41 4e 43 45 4c 3a | 0a 20 20 20 20 20 20 20 |_CANCEL:|. |
|00000cc0| 20 20 63 61 73 65 20 4d | 55 49 56 5f 41 70 70 6c | case M|UIV_Appl|
|00000cd0| 69 63 61 74 69 6f 6e 5f | 52 65 74 75 72 6e 49 44 |ication_|ReturnID|
|00000ce0| 5f 51 75 69 74 3a 0a 20 | 20 20 20 20 20 20 20 20 |_Quit:. | |
|00000cf0| 20 20 20 72 75 6e 6e 69 | 6e 67 20 3d 20 46 41 4c | runni|ng = FAL|
|00000d00| 53 45 3b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |SE;. | |
|00000d10| 62 72 65 61 6b 3b 0a 20 | 20 20 20 20 20 7d 0a 0a |break;. | }..|
|00000d20| 20 20 20 20 20 20 69 66 | 20 28 72 75 6e 6e 69 6e | if| (runnin|
|00000d30| 67 20 26 26 20 73 69 67 | 6e 61 6c 73 29 20 57 61 |g && sig|nals) Wa|
|00000d40| 69 74 28 73 69 67 6e 61 | 6c 73 29 3b 0a 20 20 20 |it(signa|ls);. |
|00000d50| 7d 0a 0a 5c 65 6e 64 7b | 76 65 72 62 61 74 69 6d |}..\end{|verbatim|
|00000d60| 7d 20 5c 6e 6f 72 6d 61 | 6c 73 69 7a 65 0a 20 20 |} \norma|lsize. |
|00000d70| 20 0a 53 6f 20 77 68 61 | 74 20 69 73 20 68 61 70 | .So wha|t is hap|
|00000d80| 70 65 6e 69 6e 67 20 68 | 65 72 65 3f 0a 0a 46 69 |pening h|ere?..Fi|
|00000d90| 72 73 74 2c 20 79 6f 75 | 20 68 61 76 65 20 74 6f |rst, you| have to|
|00000da0| 20 63 61 6c 6c 20 74 68 | 65 20 4d 55 49 4d 5c 5f | call th|e MUIM\_|
|00000db0| 41 70 70 6c 69 63 61 74 | 69 6f 6e 5c 5f 49 6e 70 |Applicat|ion\_Inp|
|00000dc0| 75 74 20 6d 65 74 68 6f | 64 2e 0a 59 6f 75 20 73 |ut metho|d..You s|
|00000dd0| 75 70 70 6c 79 20 74 68 | 65 20 61 64 64 72 65 73 |upply th|e addres|
|00000de0| 73 20 6f 66 20 61 20 55 | 4c 4f 4e 47 20 61 73 20 |s of a U|LONG as |
|00000df0| 70 61 72 61 6d 65 74 65 | 72 2c 20 74 68 61 74 73 |paramete|r, thats|
|00000e00| 0a 77 68 65 72 65 20 4d | 55 49 20 66 69 6c 6c 73 |.where M|UI fills|
|00000e10| 20 69 6e 20 74 68 65 20 | 73 69 67 6e 61 6c 73 20 | in the |signals |
|00000e20| 69 74 20 6e 65 65 64 73 | 2e 20 4e 6f 74 65 20 74 |it needs|. Note t|
|00000e30| 68 61 74 20 79 6f 75 20 | 63 61 6e 0a 63 61 6c 6c |hat you |can.call|
|00000e40| 20 74 68 65 20 69 6e 70 | 75 74 20 6d 65 74 68 6f | the inp|ut metho|
|00000e50| 64 20 61 74 20 61 6e 79 | 20 74 69 6d 65 2c 20 72 |d at any| time, r|
|00000e60| 65 67 61 72 64 6c 65 73 | 73 20 6f 66 20 73 69 67 |egardles|s of sig|
|00000e70| 6e 61 6c 0a 73 65 74 74 | 69 6e 67 2e 20 4d 55 49 |nal.sett|ing. MUI|
|00000e80| 20 77 69 6c 6c 20 73 69 | 6d 70 6c 79 20 72 65 74 | will si|mply ret|
|00000e90| 75 72 6e 20 77 68 65 6e | 20 74 68 65 72 65 20 69 |urn when| there i|
|00000ea0| 73 20 6e 6f 74 68 69 6e | 67 0a 74 6f 20 64 6f 2e |s nothin|g.to do.|
|00000eb0| 0a 0a 49 6e 20 63 61 73 | 65 20 74 68 65 20 75 73 |..In cas|e the us|
|00000ec0| 65 72 20 70 72 65 73 73 | 65 64 20 74 68 65 20 50 |er press|ed the P|
|00000ed0| 6c 61 79 20 6f 72 20 74 | 68 65 20 43 61 6e 63 65 |lay or t|he Cance|
|00000ee0| 6c 20 62 75 74 74 6f 6e | 2c 0a 4d 55 49 4d 5c 5f |l button|,.MUIM\_|
|00000ef0| 41 70 70 6c 69 63 61 74 | 69 6f 6e 5c 5f 49 6e 70 |Applicat|ion\_Inp|
|00000f00| 75 74 20 77 69 6c 6c 20 | 72 65 74 75 72 6e 20 49 |ut will |return I|
|00000f10| 44 5c 5f 50 4c 41 59 20 | 6f 72 20 49 44 5c 5f 43 |D\_PLAY |or ID\_C|
|00000f20| 41 4e 43 45 4c 2e 0a 4f | 74 68 65 72 77 69 73 65 |ANCEL..O|therwise|
|00000f30| 20 79 6f 75 20 77 69 6c | 6c 20 72 65 63 65 69 76 | you wil|l receiv|
|00000f40| 65 20 61 20 30 2c 20 74 | 68 61 74 27 73 20 77 68 |e a 0, t|hat's wh|
|00000f50| 79 20 79 6f 75 20 63 61 | 6e 6e 6f 74 0a 75 73 65 |y you ca|nnot.use|
|00000f60| 20 30 20 61 73 20 6f 6e | 65 20 6f 66 20 79 6f 75 | 0 as on|e of you|
|00000f70| 72 20 69 64 20 76 61 6c | 75 65 73 2e 0a 0a 54 68 |r id val|ues...Th|
|00000f80| 65 72 65 20 69 73 20 6f | 6e 65 20 70 72 65 64 65 |ere is o|ne prede|
|00000f90| 66 69 6e 65 64 20 69 64 | 20 63 61 6c 6c 65 64 0a |fined id| called.|
|00000fa0| 4d 55 49 56 5c 5f 41 70 | 70 6c 69 63 61 74 69 6f |MUIV\_Ap|plicatio|
|00000fb0| 6e 5c 5f 52 65 74 75 72 | 6e 49 44 5c 5f 51 75 69 |n\_Retur|nID\_Qui|
|00000fc0| 74 2e 20 54 68 69 73 20 | 77 69 6c 6c 20 62 65 20 |t. This |will be |
|00000fd0| 73 65 6e 74 20 74 6f 20 | 79 6f 75 0a 77 68 65 6e |sent to |you.when|
|00000fe0| 20 73 6f 6d 65 6f 6e 65 | 20 74 72 69 65 64 20 74 | someone| tried t|
|00000ff0| 6f 20 71 75 69 74 20 79 | 6f 75 72 20 61 70 70 6c |o quit y|our appl|
|00001000| 69 63 61 74 69 6f 6e 20 | 66 72 6f 6d 20 6f 75 74 |ication |from out|
|00001010| 73 69 64 65 2c 0a 65 2e | 67 2e 20 76 69 61 20 63 |side,.e.|g. via c|
|00001020| 6f 6d 6d 6f 64 69 74 69 | 65 73 20 65 78 63 68 61 |ommoditi|es excha|
|00001030| 6e 67 65 20 6f 72 20 74 | 68 65 20 41 52 65 78 78 |nge or t|he ARexx|
|00001040| 20 27 27 71 75 69 74 27 | 27 20 63 6f 6d 6d 61 6e | ''quit'|' comman|
|00001050| 64 2e 0a 49 74 20 69 73 | 20 72 65 71 75 69 72 65 |d..It is| require|
|00001060| 64 20 74 68 61 74 20 79 | 6f 75 72 20 61 70 70 6c |d that y|our appl|
|00001070| 69 63 61 74 69 6f 6e 20 | 68 61 6e 64 6c 65 73 20 |ication |handles |
|00001080| 74 68 69 73 20 69 64 2c | 0a 6a 75 73 74 20 74 72 |this id,|.just tr|
|00001090| 65 61 74 20 61 73 20 69 | 66 20 74 68 65 20 75 73 |eat as i|f the us|
|000010a0| 65 72 20 63 6c 69 63 6b | 65 64 20 6f 6e 20 61 20 |er click|ed on a |
|000010b0| 27 27 51 75 69 74 27 27 | 20 62 75 74 74 6f 6e 20 |''Quit''| button |
|000010c0| 6f 72 0a 73 65 6c 65 63 | 74 65 64 20 61 20 27 27 |or.selec|ted a ''|
|000010d0| 51 75 69 74 27 27 20 6d | 65 6e 75 20 69 74 65 6d |Quit'' m|enu item|
|000010e0| 2e 0a 0a 41 66 74 65 72 | 20 68 61 6e 64 6c 69 6e |...After| handlin|
|000010f0| 67 20 74 68 65 20 72 65 | 74 75 72 6e 20 76 61 6c |g the re|turn val|
|00001100| 75 65 2c 20 79 6f 75 20 | 68 61 76 65 20 74 6f 20 |ue, you |have to |
|00001110| 65 78 61 6d 69 6e 65 0a | 69 66 20 4d 55 49 20 77 |examine.|if MUI w|
|00001120| 61 6e 74 73 20 79 6f 75 | 20 74 6f 20 77 61 69 74 |ants you| to wait|
|00001130| 20 66 6f 72 20 61 6e 79 | 20 73 69 67 6e 61 6c 73 | for any| signals|
|00001140| 2e 20 49 66 20 74 68 69 | 73 0a 69 73 20 74 68 65 |. If thi|s.is the|
|00001150| 20 63 61 73 65 20 28 73 | 69 67 6e 61 6c 73 20 21 | case (s|ignals !|
|00001160| 3d 20 30 29 2c 20 6a 75 | 73 74 20 77 61 69 74 20 |= 0), ju|st wait |
|00001170| 66 6f 72 20 69 74 2e 20 | 49 66 0a 4d 55 49 20 70 |for it. |If.MUI p|
|00001180| 75 74 73 20 61 20 30 20 | 69 6e 74 6f 20 73 69 67 |uts a 0 |into sig|
|00001190| 6e 61 6c 73 20 69 74 20 | 77 61 6e 74 73 20 74 6f |nals it |wants to|
|000011a0| 20 74 65 6c 6c 20 79 6f | 75 20 74 6f 0a 69 6d 6d | tell yo|u to.imm|
|000011b0| 65 64 69 61 74 65 6c 79 | 20 63 61 6c 6c 20 74 68 |ediately| call th|
|000011c0| 65 20 69 6e 70 75 74 20 | 6d 65 74 68 6f 64 20 61 |e input |method a|
|000011d0| 67 61 69 6e 2c 20 6d 61 | 79 62 65 20 73 6f 6d 65 |gain, ma|ybe some|
|000011e0| 0a 6f 74 68 65 72 20 72 | 65 74 75 72 6e 20 69 64 |.other r|eturn id|
|000011f0| 73 20 68 61 76 65 20 72 | 65 63 65 69 76 65 64 20 |s have r|eceived |
|00001200| 61 6e 64 20 6e 65 65 64 | 20 74 6f 20 62 65 20 68 |and need| to be h|
|00001210| 61 6e 64 6c 65 64 2e 0a | 59 6f 75 20 24 5c 61 73 |andled..|You $\as|
|00001220| 74 24 6d 75 73 74 24 5c | 61 73 74 24 20 63 68 65 |t$must$\|ast$ che|
|00001230| 63 6b 20 74 68 69 73 20 | 62 65 63 61 75 73 65 20 |ck this |because |
|00001240| 57 61 69 74 28 29 69 6e | 67 20 6f 6e 20 61 20 7a |Wait()in|g on a z|
|00001250| 65 72 6f 0a 73 69 67 6e | 61 6c 20 6d 61 73 6b 20 |ero.sign|al mask |
|00001260| 69 73 20 6e 6f 74 20 61 | 20 67 6f 6f 64 20 69 64 |is not a| good id|
|00001270| 65 61 21 0a 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |ea!..\su|bsubsect|
|00001280| 69 6f 6e 2a 7b 4e 4f 54 | 45 7d 0a 49 74 20 69 73 |ion*{NOT|E}.It is|
|00001290| 20 76 65 72 79 20 69 6d | 70 6f 72 74 61 6e 74 20 | very im|portant |
|000012a0| 74 68 61 74 20 79 6f 75 | 20 63 61 6c 6c 20 74 68 |that you| call th|
|000012b0| 65 20 69 6e 70 75 74 20 | 6d 65 74 68 6f 64 0a 77 |e input |method.w|
|000012c0| 68 65 6e 65 76 65 72 20 | 61 20 73 69 67 6e 61 6c |henever |a signal|
|000012d0| 20 61 72 72 69 76 65 73 | 2e 20 4d 55 49 20 6e 65 | arrives|. MUI ne|
|000012e0| 65 64 73 20 74 68 69 73 | 20 74 6f 20 63 6f 72 72 |eds this| to corr|
|000012f0| 65 63 74 6c 79 0a 72 65 | 66 72 65 73 68 20 69 74 |ectly.re|fresh it|
|00001300| 73 20 77 69 6e 64 6f 77 | 73 2c 20 68 61 6e 64 6c |s window|s, handl|
|00001310| 65 20 72 65 73 69 7a 69 | 6e 67 20 61 6e 64 20 69 |e resizi|ng and i|
|00001320| 63 6f 6e 69 66 69 63 61 | 74 69 6f 6e 0a 6f 70 65 |conifica|tion.ope|
|00001330| 72 61 74 69 6f 6e 73 20 | 61 6e 64 20 63 6f 6d 6d |rations |and comm|
|00001340| 6f 64 69 74 69 65 73 20 | 61 6e 64 20 41 52 65 78 |odities |and ARex|
|00001350| 78 20 6d 65 73 73 61 67 | 65 73 2e 20 49 66 20 79 |x messag|es. If y|
|00001360| 6f 75 0a 64 6f 6e 27 74 | 2c 20 79 6f 75 20 77 69 |ou.don't|, you wi|
|00001370| 6c 6c 20 61 6e 6e 6f 79 | 20 79 6f 75 72 20 75 73 |ll annoy| your us|
|00001380| 65 72 21 0a 0a 49 66 20 | 79 6f 75 72 20 70 72 6f |er!..If |your pro|
|00001390| 67 72 61 6d 20 6e 65 65 | 64 73 20 74 6f 20 62 65 |gram nee|ds to be|
|000013a0| 20 69 6e 20 61 20 73 74 | 61 74 65 20 77 68 65 72 | in a st|ate wher|
|000013b0| 65 20 79 6f 75 20 61 72 | 65 0a 66 6f 72 20 73 6f |e you ar|e.for so|
|000013c0| 6d 65 20 72 65 61 73 6f | 6e 73 20 75 6e 61 62 6c |me reaso|ns unabl|
|000013d0| 65 20 74 6f 20 63 61 6c | 6c 20 74 68 65 20 69 6e |e to cal|l the in|
|000013e0| 70 75 74 20 6d 65 74 68 | 6f 64 20 66 6f 72 0a 61 |put meth|od for.a|
|000013f0| 20 63 6f 6e 73 69 64 65 | 72 61 62 6c 65 20 61 6d | conside|rable am|
|00001400| 6f 75 6e 74 20 6f 66 20 | 74 69 6d 65 20 28 6d 61 |ount of |time (ma|
|00001410| 79 62 65 20 68 61 6c 66 | 20 61 20 73 65 63 6f 6e |ybe half| a secon|
|00001420| 64 20 6f 72 0a 6d 6f 72 | 65 29 2c 20 79 6f 75 20 |d or.mor|e), you |
|00001430| 73 68 6f 75 6c 64 20 70 | 75 74 20 79 6f 75 72 20 |should p|ut your |
|00001440| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 74 6f 20 73 |applicat|ion to s|
|00001450| 6c 65 65 70 2e 20 53 65 | 65 0a 4d 55 49 41 5c 5f |leep. Se|e.MUIA\_|
|00001460| 41 70 70 6c 69 63 61 74 | 69 6f 6e 5c 5f 53 6c 65 |Applicat|ion\_Sle|
|00001470| 65 70 20 6f 6e 20 68 6f | 77 20 74 6f 20 64 6f 20 |ep on ho|w to do |
|00001480| 74 68 69 73 2e 0a 0a 5c | 73 75 62 73 75 62 73 65 |this...\|subsubse|
|00001490| 63 74 69 6f 6e 2a 7b 53 | 45 45 20 41 4c 53 4f 7d |ction*{S|EE ALSO}|
|000014a0| 0a 4d 55 49 41 5c 5f 41 | 70 70 6c 69 63 61 74 69 |.MUIA\_A|pplicati|
|000014b0| 6f 6e 5c 5f 53 6c 65 65 | 70 2c 20 4d 55 49 4d 5c |on\_Slee|p, MUIM\|
|000014c0| 5f 41 70 70 6c 69 63 61 | 74 69 6f 6e 5c 5f 49 6e |_Applica|tion\_In|
|000014d0| 70 75 74 42 75 66 66 65 | 72 65 64 0a 0a 5c 73 75 |putBuffe|red..\su|
|000014e0| 62 73 65 63 74 69 6f 6e | 5b 4d 55 49 4d 5c 5f 41 |bsection|[MUIM\_A|
|000014f0| 70 70 6c 69 63 61 74 69 | 6f 6e 5c 5f 49 6e 70 75 |pplicati|on\_Inpu|
|00001500| 74 42 75 66 66 65 72 65 | 64 5d 7b 4d 55 49 4d 5c |tBuffere|d]{MUIM\|
|00001510| 5f 41 70 70 6c 69 63 61 | 74 69 6f 6e 5c 5f 49 6e |_Applica|tion\_In|
|00001520| 70 75 74 42 75 66 66 65 | 72 65 64 20 28 56 34 29 |putBuffe|red (V4)|
|00001530| 7d 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |}..\subs|ubsectio|
|00001540| 6e 2a 7b 53 59 4e 4f 50 | 53 49 53 7d 0a 44 6f 4d |n*{SYNOP|SIS}.DoM|
|00001550| 65 74 68 6f 64 28 6f 62 | 6a 2c 4d 55 49 4d 5c 5f |ethod(ob|j,MUIM\_|
|00001560| 41 70 70 6c 69 63 61 74 | 69 6f 6e 5c 5f 49 6e 70 |Applicat|ion\_Inp|
|00001570| 75 74 42 75 66 66 65 72 | 65 64 2c 29 3b 0a 0a 5c |utBuffer|ed,);..\|
|00001580| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 46 |subsubse|ction*{F|
|00001590| 55 4e 43 54 49 4f 4e 7d | 0a 49 6d 61 67 69 6e 65 |UNCTION}|.Imagine|
|000015a0| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|000015b0| 6e 20 64 6f 65 73 20 73 | 6f 6d 65 20 74 69 6d 65 |n does s|ome time|
|000015c0| 20 63 6f 6e 73 75 6d 69 | 6e 67 0a 6f 70 65 72 61 | consumi|ng.opera|
|000015d0| 74 69 6f 6e 2c 20 65 2e | 67 2e 20 63 6f 70 79 69 |tion, e.|g. copyi|
|000015e0| 6e 67 20 61 20 64 69 73 | 6b 2c 20 61 6e 64 20 79 |ng a dis|k, and y|
|000015f0| 6f 75 20 61 72 65 20 66 | 6f 72 0a 73 6f 6d 65 20 |ou are f|or.some |
|00001600| 72 65 61 73 6f 6e 73 20 | 75 6e 61 62 6c 65 20 74 |reasons |unable t|
|00001610| 6f 20 72 65 61 63 74 20 | 6f 6e 20 72 65 74 75 72 |o react |on retur|
|00001620| 6e 20 69 64 73 20 64 75 | 72 69 6e 67 0a 74 68 69 |n ids du|ring.thi|
|00001630| 73 20 70 65 72 69 6f 64 | 2e 20 4f 6e 65 20 73 6f |s period|. One so|
|00001640| 6c 75 74 69 6f 6e 20 77 | 6f 75 6c 64 20 62 65 20 |lution w|ould be |
|00001650| 74 6f 20 73 69 6d 70 6c | 79 0a 70 75 74 20 79 6f |to simpl|y.put yo|
|00001660| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 74 |ur appli|cation t|
|00001670| 6f 20 73 6c 65 65 70 2c | 20 69 74 20 77 69 6c 6c |o sleep,| it will|
|00001680| 20 67 65 74 20 61 0a 62 | 75 73 79 20 70 6f 69 6e | get a.b|usy poin|
|00001690| 74 65 72 20 61 6e 64 20 | 74 68 65 20 75 73 65 72 |ter and |the user|
|000016a0| 20 6b 6e 6f 77 73 20 77 | 68 61 74 73 20 67 6f 69 | knows w|hats goi|
|000016b0| 6e 67 20 6f 6e 2e 0a 0a | 48 6f 77 65 76 65 72 2c |ng on...|However,|
|000016c0| 20 74 68 69 73 20 77 69 | 6c 6c 20 6d 61 6b 65 20 | this wi|ll make |
|000016d0| 69 74 20 69 6d 70 6f 73 | 73 69 62 6c 65 20 66 6f |it impos|sible fo|
|000016e0| 72 20 74 68 65 20 75 73 | 65 72 0a 74 6f 20 72 65 |r the us|er.to re|
|000016f0| 73 69 7a 65 20 79 6f 75 | 72 20 61 70 70 6c 69 63 |size you|r applic|
|00001700| 61 74 69 6f 6e 73 20 77 | 69 6e 64 6f 77 73 20 6f |ations w|indows o|
|00001710| 72 20 69 63 6f 6e 69 66 | 79 20 69 74 2c 0a 68 65 |r iconif|y it,.he|
|00001720| 20 77 69 6c 6c 20 68 61 | 76 65 20 74 6f 20 77 61 | will ha|ve to wa|
|00001730| 69 74 20 75 6e 74 69 6c | 20 79 6f 75 20 61 72 65 |it until| you are|
|00001740| 20 64 6f 6e 65 20 77 69 | 74 68 20 79 6f 75 72 0a | done wi|th your.|
|00001750| 6f 70 65 72 61 74 69 6f | 6e 2e 0a 0a 4d 55 49 4d |operatio|n...MUIM|
|00001760| 5c 5f 41 70 70 6c 69 63 | 61 74 69 6f 6e 5c 5f 49 |\_Applic|ation\_I|
|00001770| 6e 70 75 74 42 75 66 66 | 65 72 65 64 20 6f 66 66 |nputBuff|ered off|
|00001780| 65 72 73 20 61 20 73 6f | 6c 75 74 69 6f 6e 0a 66 |ers a so|lution.f|
|00001790| 6f 72 20 74 68 69 73 20 | 70 72 6f 62 6c 65 6d 2e |or this |problem.|
|000017a0| 20 55 73 69 6e 67 20 74 | 68 69 73 20 6d 65 74 68 | Using t|his meth|
|000017b0| 6f 64 2c 20 79 6f 75 20 | 6e 65 65 64 6e 27 74 0a |od, you |needn't.|
|000017c0| 73 65 74 20 74 6f 20 73 | 6c 65 65 70 20 79 6f 75 |set to s|leep you|
|000017d0| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2e 20 4a |r applic|ation. J|
|000017e0| 75 73 74 20 63 61 6c 6c | 20 69 74 20 6f 6e 20 61 |ust call| it on a|
|000017f0| 0a 72 65 67 75 6c 61 72 | 20 62 61 73 69 73 20 61 |.regular| basis a|
|00001800| 6e 64 20 4d 55 49 20 77 | 69 6c 6c 20 62 65 20 61 |nd MUI w|ill be a|
|00001810| 62 6c 65 20 74 6f 20 68 | 61 6e 64 6c 65 0a 61 6c |ble to h|andle.al|
|00001820| 6c 20 61 63 74 69 6f 6e | 73 20 63 6f 6e 63 65 72 |l action|s concer|
|00001830| 6e 69 6e 67 20 74 68 65 | 20 47 55 49 2e 20 59 6f |ning the| GUI. Yo|
|00001840| 75 20 64 6f 20 6e 6f 74 | 20 6e 65 65 64 0a 74 6f |u do not| need.to|
|00001850| 20 70 61 79 20 61 74 74 | 65 6e 74 69 6f 6e 20 6f | pay att|ention o|
|00001860| 6e 20 72 65 74 75 72 6e | 20 76 61 6c 75 65 73 2c |n return| values,|
|00001870| 20 74 68 65 79 20 72 65 | 6d 61 69 6e 0a 6f 6e 20 | they re|main.on |
|00001880| 61 6e 20 69 6e 74 65 72 | 6e 61 6c 20 73 74 61 63 |an inter|nal stac|
|00001890| 6b 20 75 6e 74 69 6c 20 | 79 6f 75 72 20 6e 65 78 |k until |your nex|
|000018a0| 74 20 63 61 6c 6c 20 74 | 6f 0a 74 68 65 20 6e 6f |t call t|o.the no|
|000018b0| 6e 20 62 75 66 66 65 72 | 65 64 20 69 6e 70 75 74 |n buffer|ed input|
|000018c0| 20 6d 65 74 68 6f 64 2e | 0a 0a 5c 73 75 62 73 75 | method.|..\subsu|
|000018d0| 62 73 65 63 74 69 6f 6e | 2a 7b 45 58 41 4d 50 4c |bsection|*{EXAMPL|
|000018e0| 45 7d 0a 5c 73 6d 61 6c | 6c 0a 5c 62 65 67 69 6e |E}.\smal|l.\begin|
|000018f0| 7b 76 65 72 62 61 74 69 | 6d 7d 0a 66 6f 72 20 28 |{verbati|m}.for (|
|00001900| 74 72 61 63 6b 3d 30 3b | 20 74 72 61 63 6b 3c 38 |track=0;| track<8|
|00001910| 30 3b 20 74 72 61 63 6b | 2b 2b 29 0a 7b 0a 20 20 |0; track|++).{. |
|00001920| 20 72 65 61 64 5f 74 72 | 61 63 6b 28 29 3b 0a 20 | read_tr|ack();. |
|00001930| 20 20 44 6f 4d 65 74 68 | 6f 64 28 61 70 70 2c 4d | DoMeth|od(app,M|
|00001940| 55 49 4d 5f 41 70 70 6c | 69 63 61 74 69 6f 6e 5f |UIM_Appl|ication_|
|00001950| 49 6e 70 75 74 42 75 66 | 66 65 72 65 64 29 3b 0a |InputBuf|fered);.|
|00001960| 20 20 20 77 72 69 74 65 | 5f 74 72 61 63 6b 28 29 | write|_track()|
|00001970| 3b 0a 20 20 20 44 6f 4d | 65 74 68 6f 64 28 61 70 |;. DoM|ethod(ap|
|00001980| 70 2c 4d 55 49 4d 5f 41 | 70 70 6c 69 63 61 74 69 |p,MUIM_A|pplicati|
|00001990| 6f 6e 5f 49 6e 70 75 74 | 42 75 66 66 65 72 65 64 |on_Input|Buffered|
|000019a0| 29 3b 0a 7d 0a 0a 5c 65 | 6e 64 7b 76 65 72 62 61 |);.}..\e|nd{verba|
|000019b0| 74 69 6d 7d 0a 5c 6e 6f | 72 6d 61 6c 73 69 7a 65 |tim}.\no|rmalsize|
|000019c0| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|000019d0| 7b 53 45 45 20 41 4c 53 | 4f 7d 0a 4d 55 49 4d 5c |{SEE ALS|O}.MUIM\|
|000019e0| 5f 41 70 70 6c 69 63 61 | 74 69 6f 6e 5c 5f 49 6e |_Applica|tion\_In|
|000019f0| 70 75 74 2c 20 4d 55 49 | 41 5c 5f 41 70 70 6c 69 |put, MUI|A\_Appli|
|00001a00| 63 61 74 69 6f 6e 5c 5f | 53 6c 65 65 70 0a 0a 5c |cation\_|Sleep..\|
|00001a10| 73 75 62 73 65 63 74 69 | 6f 6e 5b 4d 55 49 4d 5c |subsecti|on[MUIM\|
|00001a20| 5f 41 70 70 6c 69 63 61 | 74 69 6f 6e 5c 5f 4c 6f |_Applica|tion\_Lo|
|00001a30| 61 64 5d 7b 4d 55 49 4d | 5c 5f 41 70 70 6c 69 63 |ad]{MUIM|\_Applic|
|00001a40| 61 74 69 6f 6e 5c 5f 4c | 6f 61 64 20 28 56 34 29 |ation\_L|oad (V4)|
|00001a50| 7d 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |}..\subs|ubsectio|
|00001a60| 6e 2a 7b 53 59 4e 4f 50 | 53 49 53 7d 0a 44 6f 4d |n*{SYNOP|SIS}.DoM|
|00001a70| 65 74 68 6f 64 28 6f 62 | 6a 2c 4d 55 49 4d 5c 5f |ethod(ob|j,MUIM\_|
|00001a80| 41 70 70 6c 69 63 61 74 | 69 6f 6e 5c 5f 4c 6f 61 |Applicat|ion\_Loa|
|00001a90| 64 2c 53 54 52 50 54 52 | 20 6e 61 6d 65 29 3b 0a |d,STRPTR| name);.|
|00001aa0| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|00001ab0| 7b 46 55 4e 43 54 49 4f | 4e 7d 0a 4d 55 49 4d 5c |{FUNCTIO|N}.MUIM\|
|00001ac0| 5f 41 70 70 6c 69 63 61 | 74 69 6f 6e 5c 5f 53 61 |_Applica|tion\_Sa|
|00001ad0| 76 65 2c 20 4d 55 49 4d | 5c 5f 41 70 70 6c 69 63 |ve, MUIM|\_Applic|
|00001ae0| 61 74 69 6f 6e 5c 5f 4c | 6f 61 64 20 61 6e 64 0a |ation\_L|oad and.|
|00001af0| 4d 55 49 41 5c 5f 45 78 | 70 6f 72 74 49 44 20 6f |MUIA\_Ex|portID o|
|00001b00| 66 66 65 72 20 61 6e 20 | 65 61 73 79 20 77 61 79 |ffer an |easy way|
|00001b10| 20 6f 66 20 73 61 76 69 | 6e 67 20 61 6e 64 20 6c | of savi|ng and l|
|00001b20| 6f 61 64 69 6e 67 0a 61 | 20 70 72 6f 67 72 61 6d |oading.a| program|
|00001b30| 73 20 63 6f 6e 66 69 67 | 75 72 61 74 69 6f 6e 2e |s config|uration.|
|00001b40| 0a 0a 45 61 63 68 20 67 | 61 64 67 65 74 20 77 69 |..Each g|adget wi|
|00001b50| 74 68 20 61 20 6e 6f 6e | 20 4e 55 4c 4c 20 4d 55 |th a non| NULL MU|
|00001b60| 49 41 5c 5f 45 78 70 6f | 72 74 49 44 20 77 69 6c |IA\_Expo|rtID wil|
|00001b70| 6c 20 67 65 74 0a 69 74 | 73 20 63 6f 6e 74 65 6e |l get.it|s conten|
|00001b80| 74 73 20 73 61 76 65 64 | 20 64 75 72 69 6e 67 20 |ts saved| during |
|00001b90| 4d 55 49 4d 5c 5f 41 70 | 70 6c 69 63 61 74 69 6f |MUIM\_Ap|plicatio|
|00001ba0| 6e 5c 5f 53 61 76 65 20 | 61 6e 64 0a 72 65 73 74 |n\_Save |and.rest|
|00001bb0| 6f 72 65 64 20 64 75 72 | 69 6e 67 20 4d 55 49 4d |ored dur|ing MUIM|
|00001bc0| 5c 5f 41 70 70 6c 69 63 | 61 74 69 6f 6e 5c 5f 4c |\_Applic|ation\_L|
|00001bd0| 6f 61 64 2e 20 54 68 69 | 73 20 6d 61 6b 65 73 0a |oad. Thi|s makes.|
|00001be0| 69 74 20 76 65 72 79 20 | 65 61 73 79 20 74 6f 20 |it very |easy to |
|00001bf0| 64 65 73 69 67 6e 20 61 | 20 63 6f 6e 66 69 67 75 |design a| configu|
|00001c00| 72 61 74 69 6f 6e 20 77 | 69 6e 64 6f 77 0a 77 69 |ration w|indow.wi|
|00001c10| 74 68 20 27 27 53 61 76 | 65 27 27 2c 20 27 27 55 |th ''Sav|e'', ''U|
|00001c20| 73 65 27 27 20 61 6e 64 | 20 27 27 43 61 6e 63 65 |se'' and| ''Cance|
|00001c30| 6c 27 27 20 62 75 74 74 | 6f 6e 73 20 74 6f 20 61 |l'' butt|ons to a|
|00001c40| 6c 6c 6f 77 0a 74 68 65 | 20 75 73 65 72 20 73 74 |llow.the| user st|
|00001c50| 6f 72 69 6e 67 20 74 68 | 65 20 73 65 74 74 69 6e |oring th|e settin|
|00001c60| 67 73 2e 20 57 68 65 6e | 20 74 68 65 20 61 70 70 |gs. When| the app|
|00001c70| 6c 69 63 61 74 69 6f 6e | 0a 73 74 61 72 74 73 2c |lication|.starts,|
|00001c80| 20 79 6f 75 20 77 6f 75 | 6c 64 20 6a 75 73 74 20 | you wou|ld just |
|00001c90| 68 61 76 65 20 74 6f 20 | 63 61 6c 6c 20 4d 55 49 |have to |call MUI|
|00001ca0| 4d 5c 5f 41 70 70 6c 69 | 63 61 74 69 6f 6e 5c 5f |M\_Appli|cation\_|
|00001cb0| 4c 6f 61 64 0a 61 6e 64 | 20 74 68 65 20 73 74 6f |Load.and| the sto|
|00001cc0| 72 65 64 20 73 65 74 74 | 69 6e 67 73 20 77 69 6c |red sett|ings wil|
|00001cd0| 6c 20 62 65 20 72 65 61 | 64 20 61 6e 64 20 69 6e |l be rea|d and in|
|00001ce0| 73 74 61 6c 6c 65 64 2e | 0a 0a 4e 6f 74 20 61 6c |stalled.|..Not al|
|00001cf0| 6c 20 63 6c 61 73 73 65 | 73 20 61 72 65 20 61 62 |l classe|s are ab|
|00001d00| 6c 65 20 74 6f 20 69 6d | 70 6f 72 74 20 61 6e 64 |le to im|port and|
|00001d10| 20 65 78 70 6f 72 74 20 | 74 68 65 69 72 0a 63 6f | export |their.co|
|00001d20| 6e 74 65 6e 74 73 2e 20 | 43 75 72 72 65 6e 74 6c |ntents. |Currentl|
|00001d30| 79 2c 20 79 6f 75 20 6d | 61 79 20 64 65 66 69 6e |y, you m|ay defin|
|00001d40| 65 20 4d 55 49 41 5c 5f | 45 78 70 6f 72 74 49 44 |e MUIA\_|ExportID|
|00001d50| 73 20 66 6f 72 0a 0a 5c | 62 65 67 69 6e 7b 63 65 |s for..\|begin{ce|
|00001d60| 6e 74 65 72 7d 20 5c 62 | 65 67 69 6e 7b 74 61 62 |nter} \b|egin{tab|
|00001d70| 75 6c 61 72 7d 7b 6c 63 | 6c 7d 0a 53 74 72 69 6e |ular}{lc|l}.Strin|
|00001d80| 67 20 63 6c 61 73 73 20 | 20 20 26 2d 26 20 4d 55 |g class | &-& MU|
|00001d90| 49 41 5c 5f 53 74 72 69 | 6e 67 5c 5f 43 6f 6e 74 |IA\_Stri|ng\_Cont|
|00001da0| 65 6e 74 73 20 69 73 20 | 65 78 2f 69 6d 70 6f 72 |ents is |ex/impor|
|00001db0| 74 65 64 2e 5c 5c 0a 52 | 61 64 69 6f 20 63 6c 61 |ted.\\.R|adio cla|
|00001dc0| 73 73 20 20 20 20 26 2d | 26 20 4d 55 49 41 5c 5f |ss &-|& MUIA\_|
|00001dd0| 52 61 64 69 6f 5c 5f 41 | 63 74 69 76 65 20 69 73 |Radio\_A|ctive is|
|00001de0| 20 65 78 2f 69 6d 70 6f | 72 74 65 64 2e 5c 5c 0a | ex/impo|rted.\\.|
|00001df0| 43 79 63 6c 65 20 63 6c | 61 73 73 20 20 20 20 26 |Cycle cl|ass &|
|00001e00| 2d 26 20 4d 55 49 41 5c | 5f 43 79 63 6c 65 5c 5f |-& MUIA\|_Cycle\_|
|00001e10| 41 63 74 69 76 65 20 69 | 73 20 65 78 2f 69 6d 70 |Active i|s ex/imp|
|00001e20| 6f 72 74 65 64 2e 5c 5c | 0a 4c 69 73 74 20 63 6c |orted.\\|.List cl|
|00001e30| 61 73 73 20 20 20 20 20 | 26 2d 26 20 4d 55 49 41 |ass |&-& MUIA|
|00001e40| 5c 5f 4c 69 73 74 5c 5f | 41 63 74 69 76 65 20 69 |\_List\_|Active i|
|00001e50| 73 20 2f 65 78 2f 69 6d | 70 6f 72 74 65 64 2e 5c |s /ex/im|ported.\|
|00001e60| 5c 0a 54 65 78 74 20 63 | 6c 61 73 73 20 20 20 20 |\.Text c|lass |
|00001e70| 20 26 2d 26 20 4d 55 49 | 41 5c 5f 54 65 78 74 5c | &-& MUI|A\_Text\|
|00001e80| 5f 43 6f 6e 74 65 6e 74 | 73 20 69 73 20 65 78 2f |_Content|s is ex/|
|00001e90| 69 6d 70 6f 72 74 65 64 | 2e 5c 5c 0a 53 6c 69 64 |imported|.\\.Slid|
|00001ea0| 65 72 20 63 6c 61 73 73 | 20 20 20 26 2d 26 20 4d |er class| &-& M|
|00001eb0| 55 49 41 5c 5f 53 6c 69 | 64 65 72 5c 5f 4c 65 76 |UIA\_Sli|der\_Lev|
|00001ec0| 65 6c 20 69 73 20 65 78 | 2f 69 6d 70 6f 72 74 65 |el is ex|/importe|
|00001ed0| 64 2e 5c 5c 0a 41 72 65 | 61 20 63 6c 61 73 73 20 |d.\\.Are|a class |
|00001ee0| 20 20 20 20 26 2d 26 20 | 4d 55 49 41 5c 5f 53 65 | &-& |MUIA\_Se|
|00001ef0| 6c 65 63 74 65 64 20 69 | 73 20 65 78 2f 69 6d 70 |lected i|s ex/imp|
|00001f00| 6f 72 74 65 64 5c 5c 0a | 26 26 28 65 2e 67 2e 20 |orted\\.|&&(e.g. |
|00001f10| 66 6f 72 20 43 68 65 63 | 6b 6d 61 72 6b 20 67 61 |for Chec|kmark ga|
|00001f20| 64 67 65 74 73 29 5c 5c | 0a 4d 65 6e 75 69 74 65 |dgets)\\|.Menuite|
|00001f30| 6d 20 63 6c 61 73 73 20 | 26 2d 26 20 4d 55 49 41 |m class |&-& MUIA|
|00001f40| 5c 5f 43 68 65 63 6b 65 | 64 20 69 73 20 65 78 2f |\_Checke|d is ex/|
|00001f50| 69 6d 70 6f 72 74 65 64 | 20 28 56 39 29 2e 5c 5c |imported| (V9).\\|
|00001f60| 0a 47 72 6f 75 70 20 63 | 6c 61 73 73 20 20 20 20 |.Group c|lass |
|00001f70| 26 2d 26 20 4d 55 49 41 | 5c 5f 47 72 6f 75 70 5c |&-& MUIA|\_Group\|
|00001f80| 5f 41 63 74 69 76 65 50 | 61 67 65 20 69 73 20 65 |_ActiveP|age is e|
|00001f90| 78 2f 69 6d 70 6f 72 74 | 65 64 20 28 56 38 29 2e |x/import|ed (V8).|
|00001fa0| 5c 5c 0a 5c 65 6e 64 7b | 74 61 62 75 6c 61 72 7d |\\.\end{|tabular}|
|00001fb0| 20 5c 65 6e 64 7b 63 65 | 6e 74 65 72 7d 0a 20 20 | \end{ce|nter}. |
|00001fc0| 20 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f | ..\subs|ubsectio|
|00001fd0| 6e 2a 7b 49 4e 50 55 54 | 53 7d 0a 20 20 20 5c 62 |n*{INPUT|S}. \b|
|00001fe0| 65 67 69 6e 7b 64 65 73 | 63 72 69 70 74 69 6f 6e |egin{des|cription|
|00001ff0| 7d 0a 5c 69 74 65 6d 5b | 6e 61 6d 65 5d 20 2d 20 |}.\item[|name] - |
|00002000| 4e 61 6d 65 20 6f 66 20 | 74 68 65 20 66 69 6c 65 |Name of |the file|
|00002010| 20 79 6f 75 20 77 69 73 | 68 20 74 6f 20 6c 6f 61 | you wis|h to loa|
|00002020| 64 20 74 68 65 20 73 65 | 74 74 69 6e 67 73 20 66 |d the se|ttings f|
|00002030| 72 6f 6d 2e 0a 55 73 75 | 61 6c 6c 79 20 79 6f 75 |rom..Usu|ally you|
|00002040| 20 77 6f 6e 27 74 20 6e | 65 65 64 20 74 6f 20 74 | won't n|eed to t|
|00002050| 68 69 6e 6b 20 6f 66 20 | 61 20 72 65 61 6c 20 6e |hink of |a real n|
|00002060| 61 6d 65 20 62 75 74 0a | 69 6e 73 74 65 61 64 20 |ame but.|instead |
|00002070| 75 73 65 20 6f 6e 65 20 | 6f 66 20 74 68 65 20 6d |use one |of the m|
|00002080| 61 67 69 63 20 63 6f 6f | 6b 69 65 73 0a 5c 62 65 |agic coo|kies.\be|
|00002090| 67 69 6e 7b 69 74 65 6d | 69 7a 65 7d 0a 5c 69 74 |gin{item|ize}.\it|
|000020a0| 65 6d 20 4d 55 49 56 5c | 5f 41 70 70 6c 69 63 61 |em MUIV\|_Applica|
|000020b0| 74 69 6f 6e 5c 5f 4c 6f | 61 64 5c 5f 45 4e 56 20 |tion\_Lo|ad\_ENV |
|000020c0| 6f 72 0a 5c 69 74 65 6d | 20 4d 55 49 56 5c 5f 41 |or.\item| MUIV\_A|
|000020d0| 70 70 6c 69 63 61 74 69 | 6f 6e 5c 5f 4c 6f 61 64 |pplicati|on\_Load|
|000020e0| 5c 5f 45 4e 56 41 52 43 | 2e 0a 5c 65 6e 64 7b 69 |\_ENVARC|..\end{i|
|000020f0| 74 65 6d 69 7a 65 7d 0a | 5c 65 6e 64 7b 64 65 73 |temize}.|\end{des|
|00002100| 63 72 69 70 74 69 6f 6e | 7d 0a 0a 5c 73 75 62 73 |cription|}..\subs|
|00002110| 75 62 73 65 63 74 69 6f | 6e 2a 7b 45 58 41 4d 50 |ubsectio|n*{EXAMP|
|00002120| 4c 45 7d 0a 5c 73 6d 61 | 6c 6c 0a 5c 62 65 67 69 |LE}.\sma|ll.\begi|
|00002130| 6e 7b 76 65 72 62 61 74 | 69 6d 7d 0a 73 65 65 20 |n{verbat|im}.see |
|00002140| 74 68 65 20 73 61 6d 70 | 6c 65 20 70 72 6f 67 72 |the samp|le progr|
|00002150| 61 6d 20 22 53 65 74 74 | 69 6e 67 73 2e 63 22 0a |am "Sett|ings.c".|
|00002160| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 0a |.\end{ve|rbatim}.|
|00002170| 5c 6e 6f 72 6d 61 6c 73 | 69 7a 65 0a 5c 73 75 62 |\normals|ize.\sub|
|00002180| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 53 45 45 20 |subsecti|on*{SEE |
|00002190| 41 4c 53 4f 7d 0a 4d 55 | 49 4d 5c 5f 41 70 70 6c |ALSO}.MU|IM\_Appl|
|000021a0| 69 63 61 74 69 6f 6e 5c | 5f 53 61 76 65 2c 20 4d |ication\|_Save, M|
|000021b0| 55 49 41 5c 5f 45 78 70 | 6f 72 74 49 44 0a 0a 5c |UIA\_Exp|ortID..\|
|000021c0| 73 75 62 73 65 63 74 69 | 6f 6e 5b 4d 55 49 4d 5c |subsecti|on[MUIM\|
|000021d0| 5f 41 70 70 6c 69 63 61 | 74 69 6f 6e 5c 5f 50 75 |_Applica|tion\_Pu|
|000021e0| 73 68 4d 65 74 68 6f 64 | 5d 7b 4d 55 49 4d 5c 5f |shMethod|]{MUIM\_|
|000021f0| 41 70 70 6c 69 63 61 74 | 69 6f 6e 5c 5f 50 75 73 |Applicat|ion\_Pus|
|00002200| 68 4d 65 74 68 6f 64 20 | 28 56 34 29 7d 0a 0a 5c |hMethod |(V4)}..\|
|00002210| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 53 |subsubse|ction*{S|
|00002220| 59 4e 4f 50 53 49 53 7d | 0a 44 6f 4d 65 74 68 6f |YNOPSIS}|.DoMetho|
|00002230| 64 28 6f 62 6a 2c 4d 55 | 49 4d 5c 5f 41 70 70 6c |d(obj,MU|IM\_Appl|
|00002240| 69 63 61 74 69 6f 6e 5c | 5f 50 75 73 68 4d 65 74 |ication\|_PushMet|
|00002250| 68 6f 64 2c 4f 62 6a 65 | 63 74 20 24 5c 61 73 74 |hod,Obje|ct $\ast|
|00002260| 24 64 65 73 74 2c 20 4c | 4f 4e 47 20 63 6f 75 6e |$dest, L|ONG coun|
|00002270| 74 2c 20 2f 24 5c 61 73 | 74 24 20 2e 2e 2e 20 24 |t, /$\as|t$ ... $|
|00002280| 5c 61 73 74 24 2f 29 3b | 0a 0a 5c 73 75 62 73 75 |\ast$/);|..\subsu|
|00002290| 62 73 65 63 74 69 6f 6e | 2a 7b 46 55 4e 43 54 49 |bsection|*{FUNCTI|
|000022a0| 4f 4e 7d 0a 55 73 75 61 | 6c 6c 79 2c 20 79 6f 75 |ON}.Usua|lly, you|
|000022b0| 20 6d 61 79 20 6e 6f 74 | 20 74 61 6c 6b 20 74 6f | may not| talk to|
|000022c0| 20 74 68 65 20 4d 55 49 | 20 73 79 73 74 65 6d 20 | the MUI| system |
|000022d0| 66 72 6f 6d 20 74 77 6f | 0a 74 61 73 6b 73 20 61 |from two|.tasks a|
|000022e0| 74 20 74 68 65 20 73 61 | 6d 65 20 74 69 6d 65 2e |t the sa|me time.|
|000022f0| 20 4d 55 49 4d 5c 5f 41 | 70 70 6c 69 63 61 74 69 | MUIM\_A|pplicati|
|00002300| 6f 6e 5c 5f 50 75 73 68 | 4d 65 74 68 6f 64 0a 70 |on\_Push|Method.p|
|00002310| 72 6f 76 69 64 65 73 20 | 73 6f 6d 65 20 6b 69 6e |rovides |some kin|
|00002320| 64 20 6f 66 20 73 6f 6c | 75 74 69 6f 6e 20 66 6f |d of sol|ution fo|
|00002330| 72 20 74 68 69 73 20 70 | 72 6f 62 6c 65 6d 2e 0a |r this p|roblem..|
|00002340| 0a 54 68 69 73 20 28 61 | 6e 64 20 6f 6e 6c 79 20 |.This (a|nd only |
|00002350| 74 68 69 73 29 20 6d 65 | 74 68 6f 64 20 6d 61 79 |this) me|thod may|
|00002360| 20 62 65 20 63 61 6c 6c | 65 64 20 66 72 6f 6d 20 | be call|ed from |
|00002370| 61 0a 73 65 63 6f 6e 64 | 20 74 61 73 6b 2e 20 49 |a.second| task. I|
|00002380| 74 20 74 61 6b 65 73 20 | 61 6e 6f 74 68 65 72 20 |t takes |another |
|00002390| 6d 65 74 68 6f 64 20 61 | 73 20 70 61 72 61 6d 65 |method a|s parame|
|000023a0| 74 65 72 0a 61 6e 64 20 | 70 75 74 73 20 69 6e 20 |ter.and |puts in |
|000023b0| 6f 6e 74 6f 20 61 20 70 | 72 69 76 61 74 65 20 73 |onto a p|rivate s|
|000023c0| 74 61 63 6b 20 6f 66 20 | 74 68 65 20 61 70 70 6c |tack of |the appl|
|000023d0| 69 63 61 74 69 6f 6e 0a | 6f 62 6a 65 63 74 2e 20 |ication.|object. |
|000023e0| 54 68 65 20 6e 65 78 74 | 20 74 69 6d 65 20 4d 55 |The next| time MU|
|000023f0| 49 4d 5c 5f 41 70 70 6c | 69 63 61 74 69 6f 6e 5c |IM\_Appl|ication\|
|00002400| 5f 49 6e 70 75 74 0a 69 | 73 20 63 61 6c 6c 65 64 |_Input.i|s called|
|00002410| 2c 20 74 68 65 20 70 75 | 73 68 65 64 20 6d 65 74 |, the pu|shed met|
|00002420| 68 6f 64 20 77 69 6c 6c | 20 62 65 20 65 78 65 63 |hod will| be exec|
|00002430| 75 74 65 64 0a 69 6e 20 | 74 68 65 20 63 6f 6e 74 |uted.in |the cont|
|00002440| 65 78 74 20 6f 66 20 74 | 68 65 20 63 75 72 72 65 |ext of t|he curre|
|00002450| 6e 74 20 74 61 73 6b 2e | 0a 0a 5c 73 75 62 73 75 |nt task.|..\subsu|
|00002460| 62 73 65 63 74 69 6f 6e | 2a 7b 49 4e 50 55 54 53 |bsection|*{INPUTS|
|00002470| 7d 0a 20 20 20 5c 62 65 | 67 69 6e 7b 64 65 73 63 |}. \be|gin{desc|
|00002480| 72 69 70 74 69 6f 6e 7d | 0a 5c 69 74 65 6d 5b 64 |ription}|.\item[d|
|00002490| 65 73 74 5d 20 20 2d 20 | 6f 62 6a 65 63 74 20 6f |est] - |object o|
|000024a0| 6e 20 77 68 69 63 68 20 | 74 6f 20 70 65 72 66 6f |n which |to perfo|
|000024b0| 72 6d 20 74 68 65 20 70 | 75 73 68 65 64 20 6d 65 |rm the p|ushed me|
|000024c0| 74 68 6f 64 2e 0a 5c 69 | 74 65 6d 5b 63 6f 75 6e |thod..\i|tem[coun|
|000024d0| 74 5d 20 2d 20 6e 75 6d | 62 65 72 20 6f 66 20 66 |t] - num|ber of f|
|000024e0| 6f 6c 6c 6f 77 69 6e 67 | 20 61 72 67 75 6d 65 6e |ollowing| argumen|
|000024f0| 74 73 2e 0a 5c 69 74 65 | 6d 5b 2e 2e 2e 5d 20 20 |ts..\ite|m[...] |
|00002500| 20 2d 20 74 68 65 20 64 | 65 73 74 69 6e 61 74 69 | - the d|estinati|
|00002510| 6f 6e 20 6d 65 74 68 6f | 64 2e 0a 5c 65 6e 64 7b |on metho|d..\end{|
|00002520| 64 65 73 63 72 69 70 74 | 69 6f 6e 7d 0a 0a 5c 73 |descript|ion}..\s|
|00002530| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 45 58 |ubsubsec|tion*{EX|
|00002540| 41 4d 50 4c 45 7d 0a 5c | 73 6d 61 6c 6c 0a 5c 62 |AMPLE}.\|small.\b|
|00002550| 65 67 69 6e 7b 76 65 72 | 62 61 74 69 6d 7d 0a 2f |egin{ver|batim}./|
|00002560| 2a 20 73 65 74 20 61 20 | 73 74 61 74 75 73 20 6c |* set a |status l|
|00002570| 69 6e 65 20 66 72 6f 6d | 20 61 20 73 75 62 20 74 |ine from| a sub t|
|00002580| 61 73 6b 20 2a 2f 0a 44 | 6f 4d 65 74 68 6f 64 28 |ask */.D|oMethod(|
|00002590| 61 70 70 2c 4d 55 49 4d | 5f 41 70 70 6c 69 63 61 |app,MUIM|_Applica|
|000025a0| 74 69 6f 6e 5f 50 75 73 | 68 4d 65 74 68 6f 64 2c |tion_Pus|hMethod,|
|000025b0| 0a 20 20 20 74 78 73 74 | 61 74 75 73 2c 33 2c 4d |. txst|atus,3,M|
|000025c0| 55 49 4d 5f 53 65 74 2c | 4d 55 49 41 5f 54 65 78 |UIM_Set,|MUIA_Tex|
|000025d0| 74 5f 43 6f 6e 74 65 6e | 74 73 2c 22 72 65 61 64 |t_Conten|ts,"read|
|000025e0| 69 6e 67 2e 2e 2e 22 29 | 3b 0a 0a 5c 65 6e 64 7b |ing...")|;..\end{|
|000025f0| 76 65 72 62 61 74 69 6d | 7d 0a 5c 6e 6f 72 6d 61 |verbatim|}.\norma|
|00002600| 6c 73 69 7a 65 0a 5c 73 | 75 62 73 75 62 73 65 63 |lsize.\s|ubsubsec|
|00002610| 74 69 6f 6e 2a 7b 53 45 | 45 20 41 4c 53 4f 7d 0a |tion*{SE|E ALSO}.|
|00002620| 4d 55 49 4d 5c 5f 41 70 | 70 6c 69 63 61 74 69 6f |MUIM\_Ap|plicatio|
|00002630| 6e 5c 5f 49 6e 70 75 74 | 0a 0a 5c 73 75 62 73 65 |n\_Input|..\subse|
|00002640| 63 74 69 6f 6e 5b 4d 55 | 49 4d 5c 5f 41 70 70 6c |ction[MU|IM\_Appl|
|00002650| 69 63 61 74 69 6f 6e 5c | 5f 52 65 74 75 72 6e 49 |ication\|_ReturnI|
|00002660| 44 5d 7b 4d 55 49 4d 5c | 5f 41 70 70 6c 69 63 61 |D]{MUIM\|_Applica|
|00002670| 74 69 6f 6e 5c 5f 52 65 | 74 75 72 6e 49 44 20 28 |tion\_Re|turnID (|
|00002680| 56 34 29 7d 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |V4)}..\s|ubsubsec|
|00002690| 74 69 6f 6e 2a 7b 53 59 | 4e 4f 50 53 49 53 7d 0a |tion*{SY|NOPSIS}.|
|000026a0| 44 6f 4d 65 74 68 6f 64 | 28 6f 62 6a 2c 4d 55 49 |DoMethod|(obj,MUI|
|000026b0| 4d 5c 5f 41 70 70 6c 69 | 63 61 74 69 6f 6e 5c 5f |M\_Appli|cation\_|
|000026c0| 52 65 74 75 72 6e 49 44 | 2c 55 4c 4f 4e 47 20 72 |ReturnID|,ULONG r|
|000026d0| 65 74 69 64 29 3b 0a 0a | 5c 73 75 62 73 75 62 73 |etid);..|\subsubs|
|000026e0| 65 63 74 69 6f 6e 2a 7b | 46 55 4e 43 54 49 4f 4e |ection*{|FUNCTION|
|000026f0| 7d 0a 54 65 6c 6c 20 4d | 55 49 20 74 6f 20 72 65 |}.Tell M|UI to re|
|00002700| 74 75 72 6e 20 74 68 65 | 20 67 69 76 65 6e 20 69 |turn the| given i|
|00002710| 64 20 77 69 74 68 20 74 | 68 65 20 6e 65 78 74 20 |d with t|he next |
|00002720| 63 61 6c 6c 20 74 6f 0a | 4d 55 49 4d 5c 5f 41 70 |call to.|MUIM\_Ap|
|00002730| 70 6c 69 63 61 74 69 6f | 6e 5c 5f 49 6e 70 75 74 |plicatio|n\_Input|
|00002740| 2e 0a 0a 54 6f 67 65 74 | 68 65 72 20 77 69 74 68 |...Toget|her with|
|00002750| 20 74 68 65 20 4d 55 49 | 27 73 20 6e 6f 74 69 66 | the MUI|'s notif|
|00002760| 69 63 61 74 69 6f 6e 20 | 6d 65 63 68 61 6e 69 73 |ication |mechanis|
|00002770| 6d 2c 20 74 68 69 73 0a | 6d 65 74 68 6f 64 20 63 |m, this.|method c|
|00002780| 6f 6e 6e 65 63 74 73 20 | 79 6f 75 72 20 75 73 65 |onnects |your use|
|00002790| 72 20 69 6e 74 65 72 66 | 61 63 65 20 61 6e 64 20 |r interf|ace and |
|000027a0| 79 6f 75 72 20 70 72 6f | 67 72 61 6d 2e 0a 49 66 |your pro|gram..If|
|000027b0| 20 79 6f 75 20 65 2e 67 | 2e 20 77 61 6e 74 20 74 | you e.g|. want t|
|000027c0| 6f 20 62 65 20 69 6e 66 | 6f 72 6d 65 64 20 69 66 |o be inf|ormed if|
|000027d0| 20 74 68 65 20 75 73 65 | 72 20 70 72 65 73 73 65 | the use|r presse|
|000027e0| 73 0a 61 20 27 27 50 6c | 61 79 27 27 20 62 75 74 |s.a ''Pl|ay'' but|
|000027f0| 74 6f 6e 2c 20 79 6f 75 | 20 77 6f 75 6c 64 20 68 |ton, you| would h|
|00002800| 61 76 65 20 64 65 66 69 | 6e 65 20 61 6e 20 69 64 |ave defi|ne an id|
|00002810| 20 66 6f 72 0a 74 68 69 | 73 20 61 63 74 69 6f 6e | for.thi|s action|
|00002820| 20 61 6e 64 20 73 65 74 | 20 75 70 20 61 20 6e 6f | and set| up a no|
|00002830| 74 69 66 69 63 61 74 69 | 6f 6e 20 65 76 65 6e 74 |tificati|on event|
|00002840| 20 77 69 74 68 0a 4d 55 | 49 4d 5c 5f 4e 6f 74 69 | with.MU|IM\_Noti|
|00002850| 66 79 2e 0a 0a 59 6f 75 | 20 63 61 6e 20 75 73 65 |fy...You| can use|
|00002860| 20 61 6e 79 20 6c 6f 6e | 67 20 77 6f 72 64 20 61 | any lon|g word a|
|00002870| 73 20 72 65 74 75 72 6e | 20 69 64 2c 20 65 78 63 |s return| id, exc|
|00002880| 65 70 74 0a 66 72 6f 6d | 20 2d 32 35 35 20 75 70 |ept.from| -255 up|
|00002890| 20 74 6f 20 30 2e 20 54 | 68 65 73 65 20 76 61 6c | to 0. T|hese val|
|000028a0| 75 65 73 20 61 72 65 20 | 72 65 73 65 72 76 65 64 |ues are |reserved|
|000028b0| 20 66 6f 72 0a 4d 55 49 | 27 73 20 69 6e 74 65 72 | for.MUI|'s inter|
|000028c0| 6e 61 6c 20 75 73 65 20 | 61 6e 64 20 66 6f 72 20 |nal use |and for |
|000028d0| 73 70 65 63 69 61 6c 20 | 72 65 74 75 72 6e 20 76 |special |return v|
|000028e0| 61 6c 75 65 73 0a 6c 69 | 6b 65 20 4d 55 49 56 5c |alues.li|ke MUIV\|
|000028f0| 5f 41 70 70 6c 69 63 61 | 74 69 6f 6e 5c 5f 52 65 |_Applica|tion\_Re|
|00002900| 74 75 72 6e 49 44 5c 5f | 51 75 69 74 2e 0a 0a 4e |turnID\_|Quit...N|
|00002910| 6f 74 65 20 74 68 61 74 | 20 4d 55 49 20 77 69 6c |ote that| MUI wil|
|00002920| 6c 20 70 75 74 20 61 6c | 6c 20 69 6e 63 6f 6d 69 |l put al|l incomi|
|00002930| 6e 67 20 72 65 74 75 72 | 6e 20 69 64 73 0a 6f 6e |ng retur|n ids.on|
|00002940| 74 6f 20 61 20 70 72 69 | 76 61 74 65 20 66 69 66 |to a pri|vate fif|
|00002950| 6f 20 73 74 61 63 6b 20 | 61 6e 64 20 66 65 65 64 |o stack |and feed|
|00002960| 20 74 68 69 73 20 73 74 | 61 63 6b 0a 74 6f 20 69 | this st|ack.to i|
|00002970| 74 73 20 69 6e 70 75 74 | 20 6d 65 74 68 6f 64 73 |ts input| methods|
|00002980| 20 72 65 73 75 6c 74 20 | 63 6f 64 65 20 6c 61 74 | result |code lat|
|00002990| 65 72 2e 0a 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |er...\su|bsubsect|
|000029a0| 69 6f 6e 2a 7b 45 58 41 | 4d 50 4c 45 7d 0a 5c 73 |ion*{EXA|MPLE}.\s|
|000029b0| 6d 61 6c 6c 0a 5c 62 65 | 67 69 6e 7b 76 65 72 62 |mall.\be|gin{verb|
|000029c0| 61 74 69 6d 7d 0a 0a 2f | 2a 20 69 6e 66 6f 72 6d |atim}../|* inform|
|000029d0| 20 6d 65 20 69 66 20 61 | 20 62 75 74 74 6f 6e 20 | me if a| button |
|000029e0| 69 73 20 70 72 65 73 73 | 65 64 20 28 61 63 74 75 |is press|ed (actu|
|000029f0| 61 6c 6c 79 20 72 65 6c | 65 61 73 65 64 2c 20 2a |ally rel|eased, *|
|00002a00| 2f 0a 2f 2a 20 73 69 6e | 63 65 20 74 68 69 73 20 |/./* sin|ce this |
|00002a10| 69 73 20 74 68 65 20 77 | 61 79 20 61 6d 69 67 61 |is the w|ay amiga|
|00002a20| 20 62 75 74 74 6f 6e 73 | 20 61 72 65 20 68 61 6e | buttons| are han|
|00002a30| 64 6c 65 64 29 20 20 20 | 20 20 2a 2f 0a 0a 23 64 |dled) | */..#d|
|00002a40| 65 66 69 6e 65 20 49 44 | 5f 50 4c 41 59 42 55 54 |efine ID|_PLAYBUT|
|00002a50| 54 4f 4e 20 34 32 0a 0a | 2e 2e 2e 0a 0a 44 6f 4d |TON 42..|.....DoM|
|00002a60| 65 74 68 6f 64 28 62 75 | 74 74 6f 6e 6f 62 6a 2c |ethod(bu|ttonobj,|
|00002a70| 20 4d 55 49 4d 5f 4e 6f | 74 69 66 79 2c 0a 20 20 | MUIM_No|tify,. |
|00002a80| 20 4d 55 49 41 5f 50 72 | 65 73 73 65 64 2c 20 46 | MUIA_Pr|essed, F|
|00002a90| 41 4c 53 45 2c 0a 20 20 | 20 61 70 70 6f 62 6a 2c |ALSE,. | appobj,|
|00002aa0| 20 32 2c 20 4d 55 49 4d | 5f 41 70 70 6c 69 63 61 | 2, MUIM|_Applica|
|00002ab0| 74 69 6f 6e 5f 52 65 74 | 75 72 6e 64 49 44 2c 20 |tion_Ret|urndID, |
|00002ac0| 49 44 5f 50 4c 41 59 42 | 55 54 54 4f 4e 29 3b 0a |ID_PLAYB|UTTON);.|
|00002ad0| 0a 2e 2e 2e 0a 0a 77 68 | 69 6c 65 20 28 72 75 6e |......wh|ile (run|
|00002ae0| 6e 69 6e 67 29 0a 7b 0a | 20 20 20 73 77 69 74 63 |ning).{.| switc|
|00002af0| 68 20 28 44 6f 4d 65 74 | 68 6f 64 28 61 70 70 6f |h (DoMet|hod(appo|
|00002b00| 62 6a 2c 4d 55 49 4d 5f | 41 70 70 6c 69 63 61 74 |bj,MUIM_|Applicat|
|00002b10| 69 6f 6e 5f 49 6e 70 75 | 74 2c 26 73 69 67 73 29 |ion_Inpu|t,&sigs)|
|00002b20| 29 0a 20 20 20 7b 0a 20 | 20 20 20 20 20 63 61 73 |). {. | cas|
|00002b30| 65 20 49 44 5f 50 4c 41 | 59 42 55 54 54 4f 4e 3a |e ID_PLA|YBUTTON:|
|00002b40| 0a 20 20 20 20 20 20 20 | 20 20 70 72 69 6e 74 66 |. | printf|
|00002b50| 28 22 4f 6b 2c 20 6c 65 | 74 73 20 70 6c 61 79 20 |("Ok, le|ts play |
|00002b60| 61 20 67 61 6d 65 2e 2e | 2e 22 29 3b 0a 20 20 20 |a game..|.");. |
|00002b70| 20 20 20 20 20 20 62 72 | 65 61 6b 3b 0a 20 20 20 | br|eak;. |
|00002b80| 7d 0a 7d 0a 0a 5c 65 6e | 64 7b 76 65 72 62 61 74 |}.}..\en|d{verbat|
|00002b90| 69 6d 7d 0a 5c 6e 6f 72 | 6d 61 6c 73 69 7a 65 0a |im}.\nor|malsize.|
|00002ba0| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|00002bb0| 53 45 45 20 41 4c 53 4f | 7d 0a 4d 55 49 4d 5c 5f |SEE ALSO|}.MUIM\_|
|00002bc0| 41 70 70 6c 69 63 61 74 | 69 6f 6e 5c 5f 49 6e 70 |Applicat|ion\_Inp|
|00002bd0| 75 74 2c 20 4d 55 49 4d | 5c 5f 4e 6f 74 69 66 79 |ut, MUIM|\_Notify|
|00002be0| 0a 0a 5c 73 75 62 73 65 | 63 74 69 6f 6e 5b 4d 55 |..\subse|ction[MU|
|00002bf0| 49 4d 5c 5f 41 70 70 6c | 69 63 61 74 69 6f 6e 5c |IM\_Appl|ication\|
|00002c00| 5f 53 61 76 65 5d 7b 4d | 55 49 4d 5c 5f 41 70 70 |_Save]{M|UIM\_App|
|00002c10| 6c 69 63 61 74 69 6f 6e | 5c 5f 53 61 76 65 20 28 |lication|\_Save (|
|00002c20| 56 34 29 7d 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |V4)}..\s|ubsubsec|
|00002c30| 74 69 6f 6e 2a 7b 53 59 | 4e 4f 50 53 49 53 7d 0a |tion*{SY|NOPSIS}.|
|00002c40| 44 6f 4d 65 74 68 6f 64 | 28 6f 62 6a 2c 4d 55 49 |DoMethod|(obj,MUI|
|00002c50| 4d 5c 5f 41 70 70 6c 69 | 63 61 74 69 6f 6e 5c 5f |M\_Appli|cation\_|
|00002c60| 53 61 76 65 2c 53 54 52 | 50 54 52 20 6e 61 6d 65 |Save,STR|PTR name|
|00002c70| 29 3b 0a 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |);..\sub|subsecti|
|00002c80| 6f 6e 2a 7b 46 55 4e 43 | 54 49 4f 4e 7d 0a 4d 55 |on*{FUNC|TION}.MU|
|00002c90| 49 4d 5c 5f 41 70 70 6c | 69 63 61 74 69 6f 6e 5c |IM\_Appl|ication\|
|00002ca0| 5f 53 61 76 65 2c 20 4d | 55 49 4d 5c 5f 41 70 70 |_Save, M|UIM\_App|
|00002cb0| 6c 69 63 61 74 69 6f 6e | 5c 5f 4c 6f 61 64 20 61 |lication|\_Load a|
|00002cc0| 6e 64 0a 4d 55 49 41 5c | 5f 45 78 70 6f 72 74 49 |nd.MUIA\|_ExportI|
|00002cd0| 44 20 6f 66 66 65 72 20 | 61 6e 20 65 61 73 79 20 |D offer |an easy |
|00002ce0| 77 61 79 20 6f 66 20 73 | 61 76 69 6e 67 20 61 6e |way of s|aving an|
|00002cf0| 64 20 6c 6f 61 64 69 6e | 67 0a 61 20 70 72 6f 67 |d loadin|g.a prog|
|00002d00| 72 61 6d 73 20 63 6f 6e | 66 69 67 75 72 61 74 69 |rams con|figurati|
|00002d10| 6f 6e 2e 0a 0a 45 61 63 | 68 20 67 61 64 67 65 74 |on...Eac|h gadget|
|00002d20| 20 77 69 74 68 20 61 20 | 6e 6f 6e 20 4e 55 4c 4c | with a |non NULL|
|00002d30| 20 4d 55 49 41 5c 5f 45 | 78 70 6f 72 74 49 44 20 | MUIA\_E|xportID |
|00002d40| 77 69 6c 6c 20 67 65 74 | 0a 69 74 73 20 63 6f 6e |will get|.its con|
|00002d50| 74 65 6e 74 73 20 73 61 | 76 65 64 20 64 75 72 69 |tents sa|ved duri|
|00002d60| 6e 67 20 4d 55 49 4d 5c | 5f 41 70 70 6c 69 63 61 |ng MUIM\|_Applica|
|00002d70| 74 69 6f 6e 5c 5f 53 61 | 76 65 20 61 6e 64 0a 72 |tion\_Sa|ve and.r|
|00002d80| 65 73 74 6f 72 65 64 20 | 64 75 72 69 6e 67 20 4d |estored |during M|
|00002d90| 55 49 4d 5c 5f 41 70 70 | 6c 69 63 61 74 69 6f 6e |UIM\_App|lication|
|00002da0| 5c 5f 4c 6f 61 64 2e 20 | 54 68 69 73 20 6d 61 6b |\_Load. |This mak|
|00002db0| 65 73 0a 69 74 20 76 65 | 72 79 20 65 61 73 79 20 |es.it ve|ry easy |
|00002dc0| 74 6f 20 64 65 73 69 67 | 6e 20 61 20 63 6f 6e 66 |to desig|n a conf|
|00002dd0| 69 67 75 72 61 74 69 6f | 6e 20 77 69 6e 64 6f 77 |iguratio|n window|
|00002de0| 0a 77 69 74 68 20 27 27 | 53 61 76 65 27 27 2c 20 |.with ''|Save'', |
|00002df0| 27 27 55 73 65 27 27 20 | 61 6e 64 20 27 27 43 61 |''Use'' |and ''Ca|
|00002e00| 6e 63 65 6c 27 27 20 62 | 75 74 74 6f 6e 73 20 74 |ncel'' b|uttons t|
|00002e10| 6f 20 61 6c 6c 6f 77 0a | 74 68 65 20 75 73 65 72 |o allow.|the user|
|00002e20| 20 73 74 6f 72 69 6e 67 | 20 74 68 65 20 73 65 74 | storing| the set|
|00002e30| 74 69 6e 67 73 2e 20 57 | 68 65 6e 20 74 68 65 20 |tings. W|hen the |
|00002e40| 61 70 70 6c 69 63 61 74 | 69 6f 6e 0a 73 74 61 72 |applicat|ion.star|
|00002e50| 74 73 2c 20 79 6f 75 20 | 77 6f 75 6c 64 20 6a 75 |ts, you |would ju|
|00002e60| 73 74 20 68 61 76 65 20 | 74 6f 20 63 61 6c 6c 20 |st have |to call |
|00002e70| 4d 55 49 4d 5c 5f 41 70 | 70 6c 69 63 61 74 69 6f |MUIM\_Ap|plicatio|
|00002e80| 6e 5c 5f 4c 6f 61 64 0a | 61 6e 64 20 74 68 65 20 |n\_Load.|and the |
|00002e90| 73 74 6f 72 65 64 20 73 | 65 74 74 69 6e 67 73 20 |stored s|ettings |
|00002ea0| 77 69 6c 6c 20 62 65 20 | 72 65 61 64 20 61 6e 64 |will be |read and|
|00002eb0| 20 69 6e 73 74 61 6c 6c | 65 64 2e 0a 0a 4e 6f 74 | install|ed...Not|
|00002ec0| 20 61 6c 6c 20 63 6c 61 | 73 73 65 73 20 61 72 65 | all cla|sses are|
|00002ed0| 20 61 62 6c 65 20 74 6f | 20 69 6d 70 6f 72 74 20 | able to| import |
|00002ee0| 61 6e 64 20 65 78 70 6f | 72 74 20 74 68 65 69 72 |and expo|rt their|
|00002ef0| 0a 63 6f 6e 74 65 6e 74 | 73 2e 20 43 75 72 72 65 |.content|s. Curre|
|00002f00| 6e 74 6c 79 2c 20 79 6f | 75 20 6d 61 79 20 64 65 |ntly, yo|u may de|
|00002f10| 66 69 6e 65 20 4d 55 49 | 41 5c 5f 45 78 70 6f 72 |fine MUI|A\_Expor|
|00002f20| 74 49 44 73 20 66 6f 72 | 0a 0a 5c 62 65 67 69 6e |tIDs for|..\begin|
|00002f30| 7b 63 65 6e 74 65 72 7d | 20 5c 62 65 67 69 6e 7b |{center}| \begin{|
|00002f40| 74 61 62 75 6c 61 72 7d | 7b 6c 63 6c 7d 0a 53 74 |tabular}|{lcl}.St|
|00002f50| 72 69 6e 67 20 63 6c 61 | 73 73 20 20 20 26 2d 26 |ring cla|ss &-&|
|00002f60| 20 4d 55 49 41 5c 5f 53 | 74 72 69 6e 67 5c 5f 43 | MUIA\_S|tring\_C|
|00002f70| 6f 6e 74 65 6e 74 73 20 | 69 73 20 65 78 2f 69 6d |ontents |is ex/im|
|00002f80| 70 6f 72 74 65 64 2e 5c | 5c 0a 52 61 64 69 6f 20 |ported.\|\.Radio |
|00002f90| 63 6c 61 73 73 20 20 20 | 20 26 2d 26 20 4d 55 49 |class | &-& MUI|
|00002fa0| 41 5c 5f 52 61 64 69 6f | 5c 5f 41 63 74 69 76 65 |A\_Radio|\_Active|
|00002fb0| 20 69 73 20 65 78 2f 69 | 6d 70 6f 72 74 65 64 2e | is ex/i|mported.|
|00002fc0| 5c 5c 0a 43 79 63 6c 65 | 20 63 6c 61 73 73 20 20 |\\.Cycle| class |
|00002fd0| 20 20 26 2d 26 20 4d 55 | 49 41 5c 5f 43 79 63 6c | &-& MU|IA\_Cycl|
|00002fe0| 65 5c 5f 41 63 74 69 76 | 65 20 69 73 20 65 78 2f |e\_Activ|e is ex/|
|00002ff0| 69 6d 70 6f 72 74 65 64 | 2e 5c 5c 0a 4c 69 73 74 |imported|.\\.List|
|00003000| 20 63 6c 61 73 73 20 20 | 20 20 20 26 2d 26 20 4d | class | &-& M|
|00003010| 55 49 41 5c 5f 4c 69 73 | 74 5c 5f 41 63 74 69 76 |UIA\_Lis|t\_Activ|
|00003020| 65 20 69 73 20 2f 65 78 | 2f 69 6d 70 6f 72 74 65 |e is /ex|/importe|
|00003030| 64 2e 5c 5c 0a 54 65 78 | 74 20 63 6c 61 73 73 20 |d.\\.Tex|t class |
|00003040| 20 20 20 20 26 2d 26 20 | 4d 55 49 41 5c 5f 54 65 | &-& |MUIA\_Te|
|00003050| 78 74 5c 5f 43 6f 6e 74 | 65 6e 74 73 20 69 73 20 |xt\_Cont|ents is |
|00003060| 65 78 2f 69 6d 70 6f 72 | 74 65 64 2e 5c 5c 0a 53 |ex/impor|ted.\\.S|
|00003070| 6c 69 64 65 72 20 63 6c | 61 73 73 20 20 20 26 2d |lider cl|ass &-|
|00003080| 26 20 4d 55 49 41 5c 5f | 53 6c 69 64 65 72 5c 5f |& MUIA\_|Slider\_|
|00003090| 4c 65 76 65 6c 20 69 73 | 20 65 78 2f 69 6d 70 6f |Level is| ex/impo|
|000030a0| 72 74 65 64 2e 5c 5c 0a | 41 72 65 61 20 63 6c 61 |rted.\\.|Area cla|
|000030b0| 73 73 20 20 20 20 20 26 | 2d 26 20 4d 55 49 41 5c |ss &|-& MUIA\|
|000030c0| 5f 53 65 6c 65 63 74 65 | 64 20 69 73 20 65 78 2f |_Selecte|d is ex/|
|000030d0| 69 6d 70 6f 72 74 65 64 | 5c 5c 0a 26 26 28 65 2e |imported|\\.&&(e.|
|000030e0| 67 2e 20 66 6f 72 20 43 | 68 65 63 6b 6d 61 72 6b |g. for C|heckmark|
|000030f0| 20 67 61 64 67 65 74 73 | 29 5c 5c 0a 4d 65 6e 75 | gadgets|)\\.Menu|
|00003100| 69 74 65 6d 20 63 6c 61 | 73 73 20 26 2d 26 20 4d |item cla|ss &-& M|
|00003110| 55 49 41 5c 5f 43 68 65 | 63 6b 65 64 20 69 73 20 |UIA\_Che|cked is |
|00003120| 65 78 2f 69 6d 70 6f 72 | 74 65 64 20 28 56 39 29 |ex/impor|ted (V9)|
|00003130| 2e 5c 5c 0a 47 72 6f 75 | 70 20 63 6c 61 73 73 20 |.\\.Grou|p class |
|00003140| 20 20 20 26 2d 26 20 4d | 55 49 41 5c 5f 47 72 6f | &-& M|UIA\_Gro|
|00003150| 75 70 5c 5f 41 63 74 69 | 76 65 50 61 67 65 20 69 |up\_Acti|vePage i|
|00003160| 73 20 65 78 2f 69 6d 70 | 6f 72 74 65 64 20 28 56 |s ex/imp|orted (V|
|00003170| 38 29 2e 5c 5c 0a 5c 65 | 6e 64 7b 74 61 62 75 6c |8).\\.\e|nd{tabul|
|00003180| 61 72 7d 20 5c 65 6e 64 | 7b 63 65 6e 74 65 72 7d |ar} \end|{center}|
|00003190| 0a 0a 5c 73 75 62 73 75 | 62 73 65 63 74 69 6f 6e |..\subsu|bsection|
|000031a0| 2a 7b 49 4e 50 55 54 53 | 7d 0a 20 20 20 5c 62 65 |*{INPUTS|}. \be|
|000031b0| 67 69 6e 7b 64 65 73 63 | 72 69 70 74 69 6f 6e 7d |gin{desc|ription}|
|000031c0| 0a 5c 69 74 65 6d 5b 6e | 61 6d 65 5d 20 2d 20 4e |.\item[n|ame] - N|
|000031d0| 61 6d 65 20 6f 66 20 74 | 68 65 20 66 69 6c 65 20 |ame of t|he file |
|000031e0| 79 6f 75 20 77 69 73 68 | 20 74 6f 20 73 61 76 65 |you wish| to save|
|000031f0| 20 74 68 65 20 73 65 74 | 74 69 6e 67 73 20 74 6f | the set|tings to|
|00003200| 2e 0a 55 73 75 61 6c 6c | 79 20 79 6f 75 20 77 6f |..Usuall|y you wo|
|00003210| 6e 27 74 20 6e 65 65 64 | 20 74 6f 20 74 68 69 6e |n't need| to thin|
|00003220| 6b 20 6f 66 20 61 20 72 | 65 61 6c 20 6e 61 6d 65 |k of a r|eal name|
|00003230| 20 62 75 74 0a 69 6e 73 | 74 65 61 64 20 75 73 65 | but.ins|tead use|
|00003240| 20 6f 6e 65 20 6f 66 20 | 74 68 65 20 6d 61 67 69 | one of |the magi|
|00003250| 63 20 63 6f 6f 6b 69 65 | 73 0a 5c 62 65 67 69 6e |c cookie|s.\begin|
|00003260| 7b 69 74 65 6d 69 7a 65 | 7d 0a 5c 69 74 65 6d 20 |{itemize|}.\item |
|00003270| 4d 55 49 56 5c 5f 41 70 | 70 6c 69 63 61 74 69 6f |MUIV\_Ap|plicatio|
|00003280| 6e 5c 5f 53 61 76 65 5c | 5f 45 4e 56 20 6f 72 0a |n\_Save\|_ENV or.|
|00003290| 5c 69 74 65 6d 20 4d 55 | 49 56 5c 5f 41 70 70 6c |\item MU|IV\_Appl|
|000032a0| 69 63 61 74 69 6f 6e 5c | 5f 53 61 76 65 5c 5f 45 |ication\|_Save\_E|
|000032b0| 4e 56 41 52 43 2e 0a 5c | 65 6e 64 7b 69 74 65 6d |NVARC..\|end{item|
|000032c0| 69 7a 65 7d 0a 5c 65 6e | 64 7b 64 65 73 63 72 69 |ize}.\en|d{descri|
|000032d0| 70 74 69 6f 6e 7d 0a 0a | 54 68 69 73 20 77 69 6c |ption}..|This wil|
|000032e0| 6c 20 73 61 76 65 20 79 | 6f 75 72 20 61 70 70 6c |l save y|our appl|
|000032f0| 69 63 61 74 69 6f 6e 27 | 73 20 73 65 74 74 69 6e |ication'|s settin|
|00003300| 67 73 20 73 6f 6d 65 77 | 68 65 72 65 0a 69 6e 20 |gs somew|here.in |
|00003310| 65 6e 76 3a 6d 75 69 2f | 20 6f 72 20 65 6e 76 61 |env:mui/| or enva|
|00003320| 72 63 3a 6d 75 69 2f 2c | 20 79 6f 75 20 6e 65 65 |rc:mui/,| you nee|
|00003330| 64 6e 27 74 20 77 6f 72 | 72 79 20 61 62 6f 75 74 |dn't wor|ry about|
|00003340| 0a 69 74 2e 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |.it...\s|ubsubsec|
|00003350| 74 69 6f 6e 2a 7b 45 58 | 41 4d 50 4c 45 7d 0a 5c |tion*{EX|AMPLE}.\|
|00003360| 73 6d 61 6c 6c 0a 5c 62 | 65 67 69 6e 7b 76 65 72 |small.\b|egin{ver|
|00003370| 62 61 74 69 6d 7d 0a 73 | 65 65 20 74 68 65 20 73 |batim}.s|ee the s|
|00003380| 61 6d 70 6c 65 20 70 72 | 6f 67 72 61 6d 20 22 53 |ample pr|ogram "S|
|00003390| 65 74 74 69 6e 67 73 2e | 63 22 0a 0a 5c 65 6e 64 |ettings.|c"..\end|
|000033a0| 7b 76 65 72 62 61 74 69 | 6d 7d 0a 5c 6e 6f 72 6d |{verbati|m}.\norm|
|000033b0| 61 6c 73 69 7a 65 0a 5c | 73 75 62 73 75 62 73 65 |alsize.\|subsubse|
|000033c0| 63 74 69 6f 6e 2a 7b 53 | 45 45 20 41 4c 53 4f 7d |ction*{S|EE ALSO}|
|000033d0| 0a 4d 55 49 4d 5c 5f 41 | 70 70 6c 69 63 61 74 69 |.MUIM\_A|pplicati|
|000033e0| 6f 6e 5c 5f 4c 6f 61 64 | 2c 20 4d 55 49 41 5c 5f |on\_Load|, MUIA\_|
|000033f0| 45 78 70 6f 72 74 49 44 | 0a 0a 5c 73 75 62 73 65 |ExportID|..\subse|
|00003400| 63 74 69 6f 6e 5b 4d 55 | 49 4d 5c 5f 41 70 70 6c |ction[MU|IM\_Appl|
|00003410| 69 63 61 74 69 6f 6e 5c | 5f 53 65 74 4d 65 6e 75 |ication\|_SetMenu|
|00003420| 43 68 65 63 6b 5d 7b 4d | 55 49 4d 5c 5f 41 70 70 |Check]{M|UIM\_App|
|00003430| 6c 69 63 61 74 69 6f 6e | 5c 5f 53 65 74 4d 65 6e |lication|\_SetMen|
|00003440| 75 43 68 65 63 6b 20 28 | 56 34 29 20 28 4f 42 53 |uCheck (|V4) (OBS|
|00003450| 4f 4c 45 54 45 29 7d 0a | 0a 5c 73 75 62 73 75 62 |OLETE)}.|.\subsub|
|00003460| 73 65 63 74 69 6f 6e 2a | 7b 53 59 4e 4f 50 53 49 |section*|{SYNOPSI|
|00003470| 53 7d 0a 44 6f 4d 65 74 | 68 6f 64 28 6f 62 6a 2c |S}.DoMet|hod(obj,|
|00003480| 4d 55 49 4d 5c 5f 41 70 | 70 6c 69 63 61 74 69 6f |MUIM\_Ap|plicatio|
|00003490| 6e 5c 5f 53 65 74 4d 65 | 6e 75 43 68 65 63 6b 2c |n\_SetMe|nuCheck,|
|000034a0| 55 4c 4f 4e 47 20 4d 65 | 6e 75 49 44 2c 20 4c 4f |ULONG Me|nuID, LO|
|000034b0| 4e 47 20 73 74 61 74 29 | 3b 0a 0a 5c 73 75 62 73 |NG stat)|;..\subs|
|000034c0| 75 62 73 65 63 74 69 6f | 6e 2a 7b 46 55 4e 43 54 |ubsectio|n*{FUNCT|
|000034d0| 49 4f 4e 7d 0a 53 65 74 | 20 6f 72 20 63 6c 65 61 |ION}.Set| or clea|
|000034e0| 72 20 74 68 65 20 63 68 | 65 63 6b 6d 61 72 6b 20 |r the ch|eckmark |
|000034f0| 6f 66 20 61 20 6d 65 6e | 75 20 69 74 65 6d 2e 0a |of a men|u item..|
|00003500| 54 68 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |The appl|ication |
|00003510| 77 69 6c 6c 20 61 73 6b | 20 69 74 73 20 73 75 62 |will ask| its sub|
|00003520| 20 77 69 6e 64 6f 77 73 | 20 66 6f 72 20 6d 65 6e | windows| for men|
|00003530| 75 20 69 74 65 6d 73 0a | 77 69 74 68 20 74 68 65 |u items.|with the|
|00003540| 20 67 69 76 65 6e 20 69 | 64 20 61 6e 64 20 73 65 | given i|d and se|
|00003550| 74 2f 63 6c 65 61 72 20 | 61 6c 6c 20 66 6f 75 6e |t/clear |all foun|
|00003560| 64 0a 65 6e 74 72 69 65 | 73 2e 0a 0a 5c 73 75 62 |d.entrie|s...\sub|
|00003570| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 49 4e 50 55 |subsecti|on*{INPU|
|00003580| 54 53 7d 0a 20 20 20 5c | 62 65 67 69 6e 7b 64 65 |TS}. \|begin{de|
|00003590| 73 63 72 69 70 74 69 6f | 6e 7d 0a 5c 69 74 65 6d |scriptio|n}.\item|
|000035a0| 5b 4d 65 6e 75 49 44 5d | 20 2d 20 74 68 65 20 76 |[MenuID]| - the v|
|000035b0| 61 6c 75 65 20 79 6f 75 | 20 77 72 6f 74 65 20 69 |alue you| wrote i|
|000035c0| 6e 74 6f 20 74 68 65 0a | 55 73 65 72 44 61 74 61 |nto the.|UserData|
|000035d0| 20 66 69 65 6c 64 20 6f | 66 20 73 74 72 75 63 74 | field o|f struct|
|000035e0| 20 4e 65 77 4d 65 6e 75 | 2e 0a 0a 5c 69 74 65 6d | NewMenu|...\item|
|000035f0| 5b 73 65 74 5d 20 20 20 | 20 2d 20 54 52 55 45 20 |[set] | - TRUE |
|00003600| 74 6f 20 73 65 74 20 63 | 68 65 63 6b 6d 61 72 6b |to set c|heckmark|
|00003610| 2c 20 46 41 4c 53 45 20 | 74 6f 20 63 6c 65 61 72 |, FALSE |to clear|
|00003620| 0a 5c 65 6e 64 7b 64 65 | 73 63 72 69 70 74 69 6f |.\end{de|scriptio|
|00003630| 6e 7d 0a 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |n}..\sub|subsecti|
|00003640| 6f 6e 2a 7b 53 45 45 20 | 41 4c 53 4f 7d 0a 4d 55 |on*{SEE |ALSO}.MU|
|00003650| 49 4d 5c 5f 41 70 70 6c | 69 63 61 74 69 6f 6e 5c |IM\_Appl|ication\|
|00003660| 5f 47 65 74 4d 65 6e 75 | 43 68 65 63 6b 2c 20 4d |_GetMenu|Check, M|
|00003670| 55 49 41 5c 5f 41 70 70 | 6c 69 63 61 74 69 6f 6e |UIA\_App|lication|
|00003680| 5c 5f 4d 65 6e 75 2c 0a | 0a 5c 73 75 62 73 65 63 |\_Menu,.|.\subsec|
|00003690| 74 69 6f 6e 5b 4d 55 49 | 4d 5c 5f 41 70 70 6c 69 |tion[MUI|M\_Appli|
|000036a0| 63 61 74 69 6f 6e 5c 5f | 53 65 74 4d 65 6e 75 53 |cation\_|SetMenuS|
|000036b0| 74 61 74 65 5d 7b 4d 55 | 49 4d 5c 5f 41 70 70 6c |tate]{MU|IM\_Appl|
|000036c0| 69 63 61 74 69 6f 6e 5c | 5f 53 65 74 4d 65 6e 75 |ication\|_SetMenu|
|000036d0| 53 74 61 74 65 20 28 56 | 34 29 20 28 4f 42 53 4f |State (V|4) (OBSO|
|000036e0| 4c 45 54 45 29 7d 0a 0a | 5c 73 75 62 73 75 62 73 |LETE)}..|\subsubs|
|000036f0| 65 63 74 69 6f 6e 2a 7b | 53 59 4e 4f 50 53 49 53 |ection*{|SYNOPSIS|
|00003700| 7d 0a 44 6f 4d 65 74 68 | 6f 64 28 6f 62 6a 2c 4d |}.DoMeth|od(obj,M|
|00003710| 55 49 4d 5c 5f 41 70 70 | 6c 69 63 61 74 69 6f 6e |UIM\_App|lication|
|00003720| 5c 5f 53 65 74 4d 65 6e | 75 53 74 61 74 65 2c 55 |\_SetMen|uState,U|
|00003730| 4c 4f 4e 47 20 4d 65 6e | 75 49 44 2c 20 4c 4f 4e |LONG Men|uID, LON|
|00003740| 47 20 73 74 61 74 29 3b | 0a 0a 5c 73 75 62 73 75 |G stat);|..\subsu|
|00003750| 62 73 65 63 74 69 6f 6e | 2a 7b 46 55 4e 43 54 49 |bsection|*{FUNCTI|
|00003760| 4f 4e 7d 0a 45 6e 61 62 | 6c 65 20 6f 72 20 64 69 |ON}.Enab|le or di|
|00003770| 73 61 62 6c 65 20 61 20 | 6d 65 6e 75 20 69 74 65 |sable a |menu ite|
|00003780| 6d 2e 0a 54 68 65 20 61 | 70 70 6c 69 63 61 74 69 |m..The a|pplicati|
|00003790| 6f 6e 20 77 69 6c 6c 20 | 61 73 6b 20 69 74 73 20 |on will |ask its |
|000037a0| 73 75 62 20 77 69 6e 64 | 6f 77 73 20 66 6f 72 20 |sub wind|ows for |
|000037b0| 6d 65 6e 75 20 69 74 65 | 6d 73 0a 77 69 74 68 20 |menu ite|ms.with |
|000037c0| 74 68 65 20 67 69 76 65 | 6e 20 69 64 20 61 6e 64 |the give|n id and|
|000037d0| 20 65 6e 61 62 6c 65 2f | 64 69 73 61 62 6c 65 20 | enable/|disable |
|000037e0| 61 6c 6c 20 66 6f 75 6e | 64 0a 65 6e 74 72 69 65 |all foun|d.entrie|
|000037f0| 73 2e 0a 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |s...\sub|subsecti|
|00003800| 6f 6e 2a 7b 49 4e 50 55 | 54 53 7d 0a 20 20 20 5c |on*{INPU|TS}. \|
|00003810| 62 65 67 69 6e 7b 64 65 | 73 63 72 69 70 74 69 6f |begin{de|scriptio|
|00003820| 6e 7d 0a 5c 69 74 65 6d | 5b 4d 65 6e 75 49 44 5d |n}.\item|[MenuID]|
|00003830| 20 2d 20 74 68 65 20 76 | 61 6c 75 65 20 79 6f 75 | - the v|alue you|
|00003840| 20 77 72 6f 74 65 20 69 | 6e 74 6f 20 74 68 65 0a | wrote i|nto the.|
|00003850| 55 73 65 72 44 61 74 61 | 20 66 69 65 6c 64 20 6f |UserData| field o|
|00003860| 66 20 73 74 72 75 63 74 | 20 4e 65 77 4d 65 6e 75 |f struct| NewMenu|
|00003870| 2e 0a 0a 5c 69 74 65 6d | 5b 73 65 74 5d 20 20 20 |...\item|[set] |
|00003880| 20 2d 20 54 52 55 45 20 | 74 6f 20 65 6e 61 62 6c | - TRUE |to enabl|
|00003890| 65 20 69 74 65 6d 2c 20 | 46 41 4c 53 45 20 74 6f |e item, |FALSE to|
|000038a0| 20 64 69 73 61 62 6c 65 | 2e 0a 5c 65 6e 64 7b 64 | disable|..\end{d|
|000038b0| 65 73 63 72 69 70 74 69 | 6f 6e 7d 0a 0a 5c 73 75 |escripti|on}..\su|
|000038c0| 62 73 75 62 73 65 63 74 | 69 6f 6e 2a 7b 53 45 45 |bsubsect|ion*{SEE|
|000038d0| 20 41 4c 53 4f 7d 0a 4d | 55 49 4d 5c 5f 41 70 70 | ALSO}.M|UIM\_App|
|000038e0| 6c 69 63 61 74 69 6f 6e | 5c 5f 47 65 74 4d 65 6e |lication|\_GetMen|
|000038f0| 75 53 74 61 74 65 2c 20 | 4d 55 49 41 5c 5f 41 70 |uState, |MUIA\_Ap|
|00003900| 70 6c 69 63 61 74 69 6f | 6e 5c 5f 4d 65 6e 75 2c |plicatio|n\_Menu,|
|00003910| 0a 0a 5c 73 75 62 73 65 | 63 74 69 6f 6e 5b 4d 55 |..\subse|ction[MU|
|00003920| 49 4d 5c 5f 41 70 70 6c | 69 63 61 74 69 6f 6e 5c |IM\_Appl|ication\|
|00003930| 5f 53 68 6f 77 48 65 6c | 70 5d 7b 4d 55 49 4d 5c |_ShowHel|p]{MUIM\|
|00003940| 5f 41 70 70 6c 69 63 61 | 74 69 6f 6e 5c 5f 53 68 |_Applica|tion\_Sh|
|00003950| 6f 77 48 65 6c 70 20 28 | 56 34 29 7d 0a 0a 5c 73 |owHelp (|V4)}..\s|
|00003960| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 53 59 |ubsubsec|tion*{SY|
|00003970| 4e 4f 50 53 49 53 7d 0a | 44 6f 4d 65 74 68 6f 64 |NOPSIS}.|DoMethod|
|00003980| 28 6f 62 6a 2c 4d 55 49 | 4d 5c 5f 41 70 70 6c 69 |(obj,MUI|M\_Appli|
|00003990| 63 61 74 69 6f 6e 5c 5f | 53 68 6f 77 48 65 6c 70 |cation\_|ShowHelp|
|000039a0| 2c 4f 62 6a 65 63 74 20 | 24 5c 61 73 74 24 77 69 |,Object |$\ast$wi|
|000039b0| 6e 64 6f 77 2c 20 63 68 | 61 72 20 24 5c 61 73 74 |ndow, ch|ar $\ast|
|000039c0| 24 6e 61 6d 65 2c 20 63 | 68 61 72 20 24 5c 61 73 |$name, c|har $\as|
|000039d0| 74 24 6e 6f 64 65 2c 20 | 4c 4f 4e 47 20 6c 69 6e |t$node, |LONG lin|
|000039e0| 65 29 3b 0a 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |e);..\su|bsubsect|
|000039f0| 69 6f 6e 2a 7b 46 55 4e | 43 54 49 4f 4e 7d 0a 53 |ion*{FUN|CTION}.S|
|00003a00| 68 6f 77 20 61 6e 20 41 | 6d 69 67 61 47 75 69 64 |how an A|migaGuid|
|00003a10| 65 20 68 65 6c 70 20 66 | 69 6c 65 2e 20 54 68 65 |e help f|ile. The|
|00003a20| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 77 69 6c | applica|tion wil|
|00003a30| 6c 20 62 65 0a 70 75 74 | 20 74 6f 20 73 6c 65 65 |l be.put| to slee|
|00003a40| 70 20 75 6e 74 69 6c 20 | 74 68 65 20 66 69 6c 65 |p until |the file|
|00003a50| 20 69 73 20 64 69 73 70 | 6c 61 79 65 64 2e 0a 0a | is disp|layed...|
|00003a60| 55 73 75 61 6c 6c 79 2c | 20 79 6f 75 20 64 6f 6e |Usually,| you don|
|00003a70| 27 74 20 6e 65 65 64 20 | 74 6f 20 63 61 6c 6c 20 |'t need |to call |
|00003a80| 74 68 69 73 20 6d 65 74 | 68 6f 64 20 64 69 72 65 |this met|hod dire|
|00003a90| 63 74 6c 79 2e 0a 4d 55 | 49 20 63 6f 6d 65 73 20 |ctly..MU|I comes |
|00003aa0| 77 69 74 68 20 61 20 73 | 6f 70 68 69 73 74 69 63 |with a s|ophistic|
|00003ab0| 61 74 65 64 20 6f 6e 6c | 69 6e 65 20 68 65 6c 70 |ated onl|ine help|
|00003ac0| 20 73 79 73 74 65 6d 2c | 0a 79 6f 75 20 6a 75 73 | system,|.you jus|
|00003ad0| 74 20 6e 65 65 64 20 74 | 6f 20 73 75 70 70 6c 79 |t need t|o supply|
|00003ae0| 20 79 6f 75 72 20 67 61 | 64 67 65 74 73 20 77 69 | your ga|dgets wi|
|00003af0| 74 68 20 68 65 6c 70 20 | 6e 6f 64 65 73 0a 61 6e |th help |nodes.an|
|00003b00| 64 20 65 76 65 72 79 74 | 68 69 6e 67 20 77 69 6c |d everyt|hing wil|
|00003b10| 6c 20 62 65 20 68 61 6e | 64 6c 65 64 20 61 75 74 |l be han|dled aut|
|00003b20| 6f 6d 61 74 69 63 61 6c | 6c 79 2e 0a 0a 5c 73 75 |omatical|ly...\su|
|00003b30| 62 73 75 62 73 65 63 74 | 69 6f 6e 2a 7b 49 4e 50 |bsubsect|ion*{INP|
|00003b40| 55 54 53 7d 0a 20 20 20 | 5c 62 65 67 69 6e 7b 64 |UTS}. |\begin{d|
|00003b50| 65 73 63 72 69 70 74 69 | 6f 6e 7d 0a 5c 69 74 65 |escripti|on}.\ite|
|00003b60| 6d 5b 77 69 6e 64 6f 77 | 5d 20 2d 20 28 4f 62 6a |m[window|] - (Obj|
|00003b70| 65 63 74 20 24 5c 61 73 | 74 24 29 20 2d 20 48 65 |ect $\as|t$) - He|
|00003b80| 6c 70 20 77 69 6c 6c 20 | 61 70 70 65 61 72 20 6f |lp will |appear o|
|00003b90| 6e 20 74 68 69 73 20 77 | 69 6e 64 6f 77 73 0a 73 |n this w|indows.s|
|00003ba0| 63 72 65 65 6e 2e 20 4d | 61 79 20 62 65 20 4e 55 |creen. M|ay be NU|
|00003bb0| 4c 4c 2e 0a 5c 69 74 65 | 6d 5b 6e 61 6d 65 5d 20 |LL..\ite|m[name] |
|00003bc0| 20 20 2d 20 28 63 68 61 | 72 20 24 5c 61 73 74 24 | - (cha|r $\ast$|
|00003bd0| 29 20 20 20 2d 20 6e 61 | 6d 65 20 6f 66 20 74 68 |) - na|me of th|
|00003be0| 65 20 68 65 6c 70 20 66 | 69 6c 65 0a 5c 69 74 65 |e help f|ile.\ite|
|00003bf0| 6d 5b 6e 6f 64 65 5d 20 | 20 20 2d 20 28 63 68 61 |m[node] | - (cha|
|00003c00| 72 20 24 5c 61 73 74 24 | 29 20 20 20 2d 20 6e 61 |r $\ast$|) - na|
|00003c10| 6d 65 20 6f 66 20 61 20 | 6e 6f 64 65 20 69 6e 20 |me of a |node in |
|00003c20| 74 68 69 73 20 68 65 6c | 70 20 66 69 6c 65 0a 5c |this hel|p file.\|
|00003c30| 69 74 65 6d 5b 6c 69 6e | 65 5d 20 20 20 2d 20 28 |item[lin|e] - (|
|00003c40| 63 68 61 72 20 24 5c 61 | 73 74 24 29 20 20 20 2d |char $\a|st$) -|
|00003c50| 20 6c 69 6e 65 20 6e 75 | 6d 62 65 72 0a 5c 65 6e | line nu|mber.\en|
|00003c60| 64 7b 64 65 73 63 72 69 | 70 74 69 6f 6e 7d 0a 0a |d{descri|ption}..|
|00003c70| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|00003c80| 53 45 45 20 41 4c 53 4f | 7d 0a 4d 55 49 41 5c 5f |SEE ALSO|}.MUIA\_|
|00003c90| 48 65 6c 70 46 69 6c 65 | 2c 20 4d 55 49 41 5c 5f |HelpFile|, MUIA\_|
|00003ca0| 48 65 6c 70 4e 6f 64 65 | 2c 20 4d 55 49 41 5c 5f |HelpNode|, MUIA\_|
|00003cb0| 48 65 6c 70 4c 69 6e 65 | 0a 0a 5c 73 75 62 73 65 |HelpLine|..\subse|
|00003cc0| 63 74 69 6f 6e 5b 4d 55 | 49 41 5c 5f 41 70 70 6c |ction[MU|IA\_Appl|
|00003cd0| 69 63 61 74 69 6f 6e 5c | 5f 41 63 74 69 76 65 5d |ication\|_Active]|
|00003ce0| 7b 4d 55 49 41 5c 5f 41 | 70 70 6c 69 63 61 74 69 |{MUIA\_A|pplicati|
|00003cf0| 6f 6e 5c 5f 41 63 74 69 | 76 65 20 2d 2d 20 28 56 |on\_Acti|ve -- (V|
|00003d00| 34 29 20 5b 49 53 47 5d | 2c 20 42 4f 4f 4c 7d 0a |4) [ISG]|, BOOL}.|
|00003d10| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|00003d20| 7b 46 55 4e 43 54 49 4f | 4e 7d 0a 54 68 69 73 20 |{FUNCTIO|N}.This |
|00003d30| 61 74 74 72 69 62 75 74 | 65 20 72 65 66 6c 65 63 |attribut|e reflec|
|00003d40| 74 73 20 74 68 65 20 73 | 74 61 74 65 20 74 68 61 |ts the s|tate tha|
|00003d50| 74 20 74 68 65 20 75 73 | 65 72 20 61 64 6a 75 73 |t the us|er adjus|
|00003d60| 74 65 64 0a 77 69 74 68 | 20 63 6f 6d 6d 6f 64 69 |ted.with| commodi|
|00003d70| 74 69 65 73 20 45 78 63 | 68 61 6e 67 65 2e 20 4d |ties Exc|hange. M|
|00003d80| 55 49 20 69 74 73 65 6c | 66 20 64 6f 65 73 6e 27 |UI itsel|f doesn'|
|00003d90| 74 20 70 61 79 20 61 6e | 79 0a 61 74 74 65 6e 74 |t pay an|y.attent|
|00003da0| 69 6f 6e 20 74 6f 20 69 | 74 2c 20 74 68 69 73 20 |ion to i|t, this |
|00003db0| 69 73 20 75 70 20 74 6f | 20 79 6f 75 2e 0a 0a 5c |is up to| you...\|
|00003dc0| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 53 |subsubse|ction*{S|
|00003dd0| 45 45 20 41 4c 53 4f 7d | 0a 4d 55 49 41 5c 5f 41 |EE ALSO}|.MUIA\_A|
|00003de0| 70 70 6c 69 63 61 74 69 | 6f 6e 5c 5f 42 72 6f 6b |pplicati|on\_Brok|
|00003df0| 65 72 0a 0a 5c 73 75 62 | 73 65 63 74 69 6f 6e 5b |er..\sub|section[|
|00003e00| 4d 55 49 41 5c 5f 41 70 | 70 6c 69 63 61 74 69 6f |MUIA\_Ap|plicatio|
|00003e10| 6e 5c 5f 41 75 74 68 6f | 72 5d 7b 4d 55 49 41 5c |n\_Autho|r]{MUIA\|
|00003e20| 5f 41 70 70 6c 69 63 61 | 74 69 6f 6e 5c 5f 41 75 |_Applica|tion\_Au|
|00003e30| 74 68 6f 72 20 2d 2d 20 | 28 56 34 29 20 5b 49 2e |thor -- |(V4) [I.|
|00003e40| 47 5d 2c 20 53 54 52 50 | 54 52 7d 0a 0a 5c 73 75 |G], STRP|TR}..\su|
|00003e50| 62 73 75 62 73 65 63 74 | 69 6f 6e 2a 7b 46 55 4e |bsubsect|ion*{FUN|
|00003e60| 43 54 49 4f 4e 7d 0a 4e | 61 6d 65 20 6f 66 20 74 |CTION}.N|ame of t|
|00003e70| 68 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 20 |he appli|cations |
|00003e80| 61 75 74 68 6f 72 2e 0a | 0a 5c 73 75 62 73 75 62 |author..|.\subsub|
|00003e90| 73 65 63 74 69 6f 6e 2a | 7b 45 58 41 4d 50 4c 45 |section*|{EXAMPLE|
|00003ea0| 7d 0a 5c 73 6d 61 6c 6c | 0a 5c 62 65 67 69 6e 7b |}.\small|.\begin{|
|00003eb0| 76 65 72 62 61 74 69 6d | 7d 0a 73 65 65 20 4d 55 |verbatim|}.see MU|
|00003ec0| 49 41 5f 41 70 70 6c 69 | 63 61 74 69 6f 6e 5f 54 |IA_Appli|cation_T|
|00003ed0| 69 74 6c 65 0a 0a 5c 65 | 6e 64 7b 76 65 72 62 61 |itle..\e|nd{verba|
|00003ee0| 74 69 6d 7d 0a 5c 6e 6f | 72 6d 61 6c 73 69 7a 65 |tim}.\no|rmalsize|
|00003ef0| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|00003f00| 7b 53 45 45 20 41 4c 53 | 4f 7d 0a 4d 55 49 41 5c |{SEE ALS|O}.MUIA\|
|00003f10| 5f 41 70 70 6c 69 63 61 | 74 69 6f 6e 5c 5f 54 69 |_Applica|tion\_Ti|
|00003f20| 74 6c 65 2c 20 4d 55 49 | 41 5c 5f 41 70 70 6c 69 |tle, MUI|A\_Appli|
|00003f30| 63 61 74 69 6f 6e 5c 5f | 43 6f 70 79 72 69 67 68 |cation\_|Copyrigh|
|00003f40| 74 2c 0a 4d 55 49 41 5c | 5f 41 70 70 6c 69 63 61 |t,.MUIA\|_Applica|
|00003f50| 74 69 6f 6e 5c 5f 56 65 | 72 73 69 6f 6e 2c 20 4d |tion\_Ve|rsion, M|
|00003f60| 55 49 41 5c 5f 41 70 70 | 6c 69 63 61 74 69 6f 6e |UIA\_App|lication|
|00003f70| 5c 5f 44 65 73 63 72 69 | 70 74 69 6f 6e 2c 0a 4d |\_Descri|ption,.M|
|00003f80| 55 49 41 5c 5f 41 70 70 | 6c 69 63 61 74 69 6f 6e |UIA\_App|lication|
|00003f90| 5c 5f 42 61 73 65 0a 0a | 5c 73 75 62 73 65 63 74 |\_Base..|\subsect|
|00003fa0| 69 6f 6e 5b 4d 55 49 41 | 5c 5f 41 70 70 6c 69 63 |ion[MUIA|\_Applic|
|00003fb0| 61 74 69 6f 6e 5c 5f 42 | 61 73 65 5d 7b 4d 55 49 |ation\_B|ase]{MUI|
|00003fc0| 41 5c 5f 41 70 70 6c 69 | 63 61 74 69 6f 6e 5c 5f |A\_Appli|cation\_|
|00003fd0| 42 61 73 65 20 2d 2d 20 | 28 56 34 29 20 5b 49 2e |Base -- |(V4) [I.|
|00003fe0| 47 5d 2c 20 53 54 52 50 | 54 52 7d 0a 0a 5c 73 75 |G], STRP|TR}..\su|
|00003ff0| 62 73 75 62 73 65 63 74 | 69 6f 6e 2a 7b 46 55 4e |bsubsect|ion*{FUN|
|00004000| 43 54 49 4f 4e 7d 0a 54 | 68 65 20 62 61 73 65 6e |CTION}.T|he basen|
|00004010| 61 6d 65 20 66 6f 72 20 | 61 6e 20 61 70 70 6c 69 |ame for |an appli|
|00004020| 63 61 74 69 6f 6e 2e 20 | 54 68 69 73 20 6e 61 6d |cation. |This nam|
|00004030| 65 20 69 73 20 75 73 65 | 64 0a 66 6f 72 20 74 68 |e is use|d.for th|
|00004040| 65 20 62 75 69 6c 74 69 | 6e 20 41 52 65 78 78 20 |e builti|n ARexx |
|00004050| 70 6f 72 74 20 61 6e 64 | 20 66 6f 72 20 73 6f 6d |port and| for som|
|00004060| 65 20 69 6e 74 65 72 6e | 61 6c 0a 66 69 6c 65 20 |e intern|al.file |
|00004070| 6d 61 6e 61 67 65 6d 65 | 6e 74 2e 0a 0a 41 20 62 |manageme|nt...A b|
|00004080| 61 73 65 6e 61 6d 65 20 | 6d 75 73 74 20 6e 65 69 |asename |must nei|
|00004090| 74 68 65 72 20 63 6f 6e | 74 61 69 6e 20 73 70 61 |ther con|tain spa|
|000040a0| 63 65 73 20 6e 6f 72 20 | 61 6e 79 0a 73 70 65 63 |ces nor |any.spec|
|000040b0| 69 61 6c 20 63 68 61 72 | 61 63 74 65 72 73 20 73 |ial char|acters s|
|000040c0| 75 63 68 20 61 73 20 27 | 27 3a 2f 28 29 5c 23 3f |uch as '|':/()\#?|
|000040d0| 24 5c 61 73 74 24 2e 2e | 2e 27 27 2e 0a 0a 57 68 |$\ast$..|.''...Wh|
|000040e0| 65 6e 20 79 6f 75 72 20 | 70 72 6f 67 72 61 6d 20 |en your |program |
|000040f0| 69 73 20 61 20 73 69 6e | 67 6c 65 20 74 61 73 6b |is a sin|gle task|
|00004100| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 0a 28 20 69 | applica|tion.( i|
|00004110| 2e 65 2e 20 4d 55 49 41 | 5c 5f 41 70 70 6c 69 63 |.e. MUIA|\_Applic|
|00004120| 61 74 69 6f 6e 5c 5f 53 | 69 6e 67 6c 65 54 61 73 |ation\_S|ingleTas|
|00004130| 6b 20 69 73 20 54 52 55 | 45 20 29 2c 20 74 68 65 |k is TRU|E ), the|
|00004140| 0a 62 61 73 65 20 6e 61 | 6d 65 20 77 69 6c 6c 20 |.base na|me will |
|00004150| 62 65 20 75 73 65 64 20 | 77 69 74 68 6f 75 74 20 |be used |without |
|00004160| 66 75 72 74 68 65 72 20 | 6d 6f 64 69 66 69 63 61 |further |modifica|
|00004170| 74 69 6f 6e 2e 0a 0a 4f | 74 68 65 72 77 69 73 65 |tion...O|therwise|
|00004180| 2c 20 69 74 20 67 65 74 | 73 20 61 20 27 27 2e 31 |, it get|s a ''.1|
|00004190| 27 27 2c 20 27 27 2e 32 | 27 27 2c 20 65 74 63 2e |'', ''.2|'', etc.|
|000041a0| 20 61 70 70 65 6e 64 65 | 64 2c 0a 64 65 70 65 6e | appende|d,.depen|
|000041b0| 64 69 6e 67 20 6f 6e 20 | 68 6f 77 20 6d 61 6e 79 |ding on |how many|
|000041c0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 61 72 | applica|tions ar|
|000041d0| 65 20 61 6c 72 65 61 64 | 79 0a 72 75 6e 6e 69 6e |e alread|y.runnin|
|000041e0| 67 2e 20 49 66 20 79 6f | 75 20 6e 65 65 64 20 74 |g. If yo|u need t|
|000041f0| 6f 20 6b 6e 6f 77 20 74 | 68 65 20 6e 61 6d 65 20 |o know t|he name |
|00004200| 6f 66 20 79 6f 75 72 0a | 41 52 65 78 78 20 70 6f |of your.|ARexx po|
|00004210| 72 74 2c 20 79 6f 75 20 | 63 61 6e 20 71 75 65 72 |rt, you |can quer|
|00004220| 79 20 74 68 65 20 62 61 | 73 65 20 6e 61 6d 65 20 |y the ba|se name |
|00004230| 61 74 74 72 69 62 75 74 | 65 0a 61 66 74 65 72 20 |attribut|e.after |
|00004240| 74 68 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |the appl|ication |
|00004250| 69 73 20 63 72 65 61 74 | 65 64 2e 0a 0a 5c 73 75 |is creat|ed...\su|
|00004260| 62 73 75 62 73 65 63 74 | 69 6f 6e 2a 7b 45 58 41 |bsubsect|ion*{EXA|
|00004270| 4d 50 4c 45 7d 0a 5c 73 | 6d 61 6c 6c 0a 5c 62 65 |MPLE}.\s|mall.\be|
|00004280| 67 69 6e 7b 76 65 72 62 | 61 74 69 6d 7d 0a 73 65 |gin{verb|atim}.se|
|00004290| 65 20 4d 55 49 41 5f 41 | 70 70 6c 69 63 61 74 69 |e MUIA_A|pplicati|
|000042a0| 6f 6e 5f 54 69 74 6c 65 | 0a 0a 5c 65 6e 64 7b 76 |on_Title|..\end{v|
|000042b0| 65 72 62 61 74 69 6d 7d | 0a 5c 6e 6f 72 6d 61 6c |erbatim}|.\normal|
|000042c0| 73 69 7a 65 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |size.\su|bsubsect|
|000042d0| 69 6f 6e 2a 7b 53 45 45 | 20 41 4c 53 4f 7d 0a 4d |ion*{SEE| ALSO}.M|
|000042e0| 55 49 41 5c 5f 41 70 70 | 6c 69 63 61 74 69 6f 6e |UIA\_App|lication|
|000042f0| 5c 5f 54 69 74 6c 65 2c | 20 4d 55 49 41 5c 5f 41 |\_Title,| MUIA\_A|
|00004300| 70 70 6c 69 63 61 74 69 | 6f 6e 5c 5f 56 65 72 73 |pplicati|on\_Vers|
|00004310| 69 6f 6e 2c 0a 4d 55 49 | 41 5c 5f 41 70 70 6c 69 |ion,.MUI|A\_Appli|
|00004320| 63 61 74 69 6f 6e 5c 5f | 41 75 74 68 6f 72 2c 20 |cation\_|Author, |
|00004330| 4d 55 49 41 5c 5f 41 70 | 70 6c 69 63 61 74 69 6f |MUIA\_Ap|plicatio|
|00004340| 6e 5c 5f 43 6f 70 79 72 | 69 67 68 74 2c 0a 4d 55 |n\_Copyr|ight,.MU|
|00004350| 49 41 5c 5f 41 70 70 6c | 69 63 61 74 69 6f 6e 5c |IA\_Appl|ication\|
|00004360| 5f 44 65 73 63 72 69 70 | 74 69 6f 6e 0a 0a 5c 73 |_Descrip|tion..\s|
|00004370| 75 62 73 65 63 74 69 6f | 6e 5b 4d 55 49 41 5c 5f |ubsectio|n[MUIA\_|
|00004380| 41 70 70 6c 69 63 61 74 | 69 6f 6e 5c 5f 42 72 6f |Applicat|ion\_Bro|
|00004390| 6b 65 72 5d 7b 4d 55 49 | 41 5c 5f 41 70 70 6c 69 |ker]{MUI|A\_Appli|
|000043a0| 63 61 74 69 6f 6e 5c 5f | 42 72 6f 6b 65 72 20 2d |cation\_|Broker -|
|000043b0| 2d 20 28 56 34 29 20 5b | 2e 2e 47 5d 2c 20 42 72 |- (V4) [|..G], Br|
|000043c0| 6f 6b 65 72 20 24 5c 61 | 73 74 24 7d 0a 0a 5c 73 |oker $\a|st$}..\s|
|000043d0| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 46 55 |ubsubsec|tion*{FU|
|000043e0| 4e 43 54 49 4f 4e 7d 0a | 49 66 20 79 6f 75 20 6e |NCTION}.|If you n|
|000043f0| 65 65 64 20 74 6f 20 61 | 74 74 61 63 68 20 73 6f |eed to a|ttach so|
|00004400| 6d 65 20 61 64 64 69 74 | 69 6f 6e 61 6c 20 63 6f |me addit|ional co|
|00004410| 6d 6d 6f 64 69 74 69 65 | 73 20 6f 62 6a 65 63 74 |mmoditie|s object|
|00004420| 73 0a 74 6f 20 79 6f 75 | 72 20 61 70 70 6c 69 63 |s.to you|r applic|
|00004430| 61 74 69 6f 6e 20 28 65 | 2e 67 2e 20 62 65 63 61 |ation (e|.g. beca|
|00004440| 75 73 65 20 79 6f 75 20 | 6e 65 65 64 20 6c 6f 74 |use you |need lot|
|00004450| 73 20 6f 66 20 68 6f 74 | 6b 65 79 73 29 2c 0a 79 |s of hot|keys),.y|
|00004460| 6f 75 20 63 61 6e 20 6f | 62 74 61 69 6e 20 61 20 |ou can o|btain a |
|00004470| 70 6f 69 6e 74 65 72 20 | 74 6f 20 74 68 65 20 61 |pointer |to the a|
|00004480| 70 70 6c 69 63 61 74 69 | 6f 6e 73 20 42 72 6f 6b |pplicati|ons Brok|
|00004490| 65 72 20 73 74 72 75 63 | 74 75 72 65 0a 61 6e 64 |er struc|ture.and|
|000044a0| 20 61 64 64 20 73 6f 6d | 65 20 63 6f 6d 6d 6f 64 | add som|e commod|
|000044b0| 69 74 69 65 73 20 6f 62 | 6a 65 63 74 73 2e 0a 0a |ities ob|jects...|
|000044c0| 4d 55 49 20 77 69 6c 6c | 20 66 72 65 65 20 74 68 |MUI will| free th|
|000044d0| 65 20 63 6f 6d 70 6c 65 | 74 65 20 62 72 6f 6b 65 |e comple|te broke|
|000044e0| 72 20 77 68 65 6e 20 74 | 68 65 20 61 70 70 6c 69 |r when t|he appli|
|000044f0| 63 61 74 69 6f 6e 20 69 | 73 0a 64 69 73 70 6f 73 |cation i|s.dispos|
|00004500| 65 64 2c 20 6e 6f 20 6e | 65 65 64 20 66 6f 72 20 |ed, no n|eed for |
|00004510| 79 6f 75 20 74 6f 20 66 | 72 65 65 20 79 6f 75 72 |you to f|ree your|
|00004520| 20 6f 62 6a 65 63 74 73 | 20 79 6f 75 72 73 65 6c | objects| yoursel|
|00004530| 66 2e 0a 0a 54 6f 20 72 | 65 63 65 69 76 65 20 69 |f...To r|eceive i|
|00004540| 6e 70 75 74 20 66 72 6f | 6d 20 79 6f 75 72 20 6f |nput fro|m your o|
|00004550| 62 6a 65 63 74 73 2c 20 | 79 6f 75 20 77 69 6c 6c |bjects, |you will|
|00004560| 20 61 6c 73 6f 20 6e 65 | 65 64 20 74 6f 0a 69 6e | also ne|ed to.in|
|00004570| 73 74 61 6c 6c 20 61 20 | 4d 55 49 41 5c 5f 41 70 |stall a |MUIA\_Ap|
|00004580| 70 6c 69 63 61 74 69 6f | 6e 5c 5f 42 72 6f 6b 65 |plicatio|n\_Broke|
|00004590| 72 48 6f 6f 6b 2e 0a 0a | 5c 73 75 62 73 75 62 73 |rHook...|\subsubs|
|000045a0| 65 63 74 69 6f 6e 2a 7b | 4e 4f 54 45 7d 0a 55 6e |ection*{|NOTE}.Un|
|000045b0| 6c 65 73 73 20 79 6f 75 | 20 68 61 76 65 20 73 65 |less you| have se|
|000045c0| 74 20 4d 55 49 41 5c 5f | 41 70 70 6c 69 63 61 74 |t MUIA\_|Applicat|
|000045d0| 69 6f 6e 5c 5f 52 65 71 | 75 69 72 65 73 43 58 2c |ion\_Req|uiresCX,|
|000045e0| 20 79 6f 75 20 6d 75 73 | 74 20 62 65 0a 70 72 65 | you mus|t be.pre|
|000045f0| 70 61 72 65 64 20 74 6f | 20 72 65 63 65 69 76 65 |pared to| receive|
|00004600| 20 61 20 4e 55 4c 4c 20 | 70 6f 69 6e 74 65 72 2e | a NULL |pointer.|
|00004610| 20 49 6e 20 74 68 69 73 | 20 63 61 73 65 2c 20 74 | In this| case, t|
|00004620| 68 65 0a 63 6f 6d 6d 6f | 64 69 74 69 65 73 20 69 |he.commo|dities i|
|00004630| 6e 74 65 72 66 61 63 65 | 20 69 73 20 6e 6f 74 20 |nterface| is not |
|00004640| 61 76 61 69 6c 61 62 6c | 65 2c 20 6d 61 79 62 65 |availabl|e, maybe|
|00004650| 20 62 65 63 61 75 73 65 | 20 74 68 65 0a 75 73 65 | because| the.use|
|00004660| 72 20 69 6e 73 74 61 6c | 6c 65 64 20 61 20 6c 69 |r instal|led a li|
|00004670| 67 68 74 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 4d |ght vers|ion of M|
|00004680| 55 49 2e 0a 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |UI...\su|bsubsect|
|00004690| 69 6f 6e 2a 7b 53 45 45 | 20 41 4c 53 4f 7d 0a 4d |ion*{SEE| ALSO}.M|
|000046a0| 55 49 41 5c 5f 41 70 70 | 6c 69 63 61 74 69 6f 6e |UIA\_App|lication|
|000046b0| 5c 5f 42 72 6f 6b 65 72 | 48 6f 6f 6b 0a 0a 5c 73 |\_Broker|Hook..\s|
|000046c0| 75 62 73 65 63 74 69 6f | 6e 5b 4d 55 49 41 5c 5f |ubsectio|n[MUIA\_|
|000046d0| 41 70 70 6c 69 63 61 74 | 69 6f 6e 5c 5f 42 72 6f |Applicat|ion\_Bro|
|000046e0| 6b 65 72 48 6f 6f 6b 5d | 7b 4d 55 49 41 5c 5f 41 |kerHook]|{MUIA\_A|
|000046f0| 70 70 6c 69 63 61 74 69 | 6f 6e 5c 5f 42 72 6f 6b |pplicati|on\_Brok|
|00004700| 65 72 48 6f 6f 6b 20 2d | 2d 20 28 56 34 29 20 5b |erHook -|- (V4) [|
|00004710| 49 53 47 5d 2c 20 73 74 | 72 75 63 74 20 48 6f 6f |ISG], st|ruct Hoo|
|00004720| 6b 20 24 5c 61 73 74 24 | 7d 0a 0a 5c 73 75 62 73 |k $\ast$|}..\subs|
|00004730| 75 62 73 65 63 74 69 6f | 6e 2a 7b 46 55 4e 43 54 |ubsectio|n*{FUNCT|
|00004740| 49 4f 4e 7d 0a 59 6f 75 | 20 73 70 65 63 69 66 79 |ION}.You| specify|
|00004750| 20 61 20 70 6f 69 6e 74 | 65 72 20 74 6f 20 68 6f | a point|er to ho|
|00004760| 6f 6b 20 73 74 72 75 63 | 74 75 72 65 2e 20 54 68 |ok struc|ture. Th|
|00004770| 65 20 66 75 6e 63 74 69 | 6f 6e 0a 77 69 6c 6c 20 |e functi|on.will |
|00004780| 62 65 20 63 61 6c 6c 65 | 64 20 77 68 65 6e 65 76 |be calle|d whenev|
|00004790| 65 72 20 61 20 63 6f 6d | 6d 6f 64 69 74 69 65 73 |er a com|modities|
|000047a0| 20 6d 65 73 73 61 67 65 | 20 61 72 72 69 76 65 73 | message| arrives|
|000047b0| 0a 28 62 65 74 77 65 65 | 6e 20 4d 55 49 27 73 20 |.(betwee|n MUI's |
|000047c0| 47 65 74 4d 73 67 28 29 | 20 61 6e 64 20 52 65 70 |GetMsg()| and Rep|
|000047d0| 6c 79 4d 73 67 28 29 29 | 2e 0a 0a 59 6f 75 20 72 |lyMsg())|...You r|
|000047e0| 65 63 65 69 76 65 20 61 | 20 70 6f 69 6e 74 65 72 |eceive a| pointer|
|000047f0| 20 74 6f 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 | to the |applicat|
|00004800| 69 6f 6e 20 6f 62 6a 65 | 63 74 0a 61 73 20 6f 62 |ion obje|ct.as ob|
|00004810| 6a 65 63 74 20 69 6e 20 | 61 32 20 61 6e 64 20 61 |ject in |a2 and a|
|00004820| 20 70 6f 69 6e 74 65 72 | 20 74 6f 20 63 6f 6d 6d | pointer| to comm|
|00004830| 6f 64 69 74 69 65 73 0a | 43 78 4d 73 67 20 6d 65 |odities.|CxMsg me|
|00004840| 73 73 61 67 65 20 69 6e | 20 61 31 2e 0a 0a 5c 73 |ssage in| a1...\s|
|00004850| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 4e 4f |ubsubsec|tion*{NO|
|00004860| 54 45 7d 0a 54 68 65 20 | 63 6f 6d 6d 6f 64 69 74 |TE}.The |commodit|
|00004870| 69 65 73 20 69 6e 74 65 | 72 66 61 63 65 20 69 73 |ies inte|rface is|
|00004880| 6e 27 74 20 61 76 61 69 | 6c 61 62 6c 65 20 69 6e |n't avai|lable in|
|00004890| 20 74 68 65 0a 6d 65 6d | 6f 72 79 20 73 61 76 69 | the.mem|ory savi|
|000048a0| 6e 67 20 27 27 6c 69 67 | 68 74 27 27 20 76 65 72 |ng ''lig|ht'' ver|
|000048b0| 73 69 6f 6e 20 6f 66 20 | 4d 55 49 2e 20 59 6f 75 |sion of |MUI. You|
|000048c0| 72 20 68 6f 6f 6b 0a 77 | 69 6c 6c 20 6e 65 76 65 |r hook.w|ill neve|
|000048d0| 72 20 62 65 20 63 61 6c | 6c 65 64 20 69 6e 20 74 |r be cal|led in t|
|000048e0| 68 69 73 20 63 61 73 65 | 2e 0a 0a 5c 73 75 62 73 |his case|...\subs|
|000048f0| 75 62 73 65 63 74 69 6f | 6e 2a 7b 53 45 45 20 41 |ubsectio|n*{SEE A|
|00004900| 4c 53 4f 7d 0a 4d 55 49 | 41 5c 5f 41 70 70 6c 69 |LSO}.MUI|A\_Appli|
|00004910| 63 61 74 69 6f 6e 5c 5f | 42 72 6f 6b 65 72 0a 0a |cation\_|Broker..|
|00004920| 5c 73 75 62 73 65 63 74 | 69 6f 6e 5b 4d 55 49 41 |\subsect|ion[MUIA|
|00004930| 5c 5f 41 70 70 6c 69 63 | 61 74 69 6f 6e 5c 5f 42 |\_Applic|ation\_B|
|00004940| 72 6f 6b 65 72 50 6f 72 | 74 5d 7b 4d 55 49 41 5c |rokerPor|t]{MUIA\|
|00004950| 5f 41 70 70 6c 69 63 61 | 74 69 6f 6e 5c 5f 42 72 |_Applica|tion\_Br|
|00004960| 6f 6b 65 72 50 6f 72 74 | 20 2d 2d 20 28 56 36 29 |okerPort| -- (V6)|
|00004970| 20 5b 2e 2e 47 5d 2c 20 | 73 74 72 75 63 74 20 4d | [..G], |struct M|
|00004980| 73 67 50 6f 72 74 20 24 | 5c 61 73 74 24 7d 0a 0a |sgPort $|\ast$}..|
|00004990| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|000049a0| 46 55 4e 43 54 49 4f 4e | 7d 0a 47 65 74 20 61 20 |FUNCTION|}.Get a |
|000049b0| 70 6f 69 6e 74 65 72 20 | 74 6f 20 74 68 65 20 61 |pointer |to the a|
|000049c0| 70 70 6c 69 63 61 74 69 | 6f 6e 73 20 63 6f 6d 6d |pplicati|ons comm|
|000049d0| 6f 64 69 74 69 65 73 20 | 6d 65 73 73 61 67 65 20 |odities |message |
|000049e0| 70 6f 72 74 2e 0a 49 66 | 20 79 6f 75 20 77 61 6e |port..If| you wan|
|000049f0| 74 20 74 6f 20 61 64 64 | 20 6f 77 6e 20 48 6f 74 |t to add| own Hot|
|00004a00| 6b 65 79 73 20 74 6f 20 | 79 6f 75 72 20 61 70 70 |keys to |your app|
|00004a10| 6c 69 63 61 74 69 6f 6e | 2c 20 79 6f 75 0a 6e 65 |lication|, you.ne|
|00004a20| 65 64 20 61 20 6d 65 73 | 73 61 67 65 20 70 6f 72 |ed a mes|sage por|
|00004a30| 74 2e 20 49 6e 73 74 65 | 61 64 20 6f 66 20 63 72 |t. Inste|ad of cr|
|00004a40| 65 61 74 69 6e 67 20 79 | 6f 75 72 20 6f 77 6e 2c |eating y|our own,|
|00004a50| 20 79 6f 75 0a 73 68 6f | 75 6c 64 20 62 65 74 74 | you.sho|uld bett|
|00004a60| 65 72 20 75 73 65 20 74 | 68 69 73 20 6f 6e 65 2e |er use t|his one.|
|00004a70| 0a 0a 5c 73 75 62 73 75 | 62 73 65 63 74 69 6f 6e |..\subsu|bsection|
|00004a80| 2a 7b 4e 4f 54 45 7d 0a | 55 6e 6c 65 73 73 20 79 |*{NOTE}.|Unless y|
|00004a90| 6f 75 20 68 61 76 65 20 | 73 65 74 20 4d 55 49 41 |ou have |set MUIA|
|00004aa0| 5c 5f 41 70 70 6c 69 63 | 61 74 69 6f 6e 5c 5f 52 |\_Applic|ation\_R|
|00004ab0| 65 71 75 69 72 65 73 43 | 58 2c 20 79 6f 75 20 6d |equiresC|X, you m|
|00004ac0| 75 73 74 20 62 65 0a 70 | 72 65 70 61 72 65 64 20 |ust be.p|repared |
|00004ad0| 74 6f 20 72 65 63 65 69 | 76 65 20 61 20 4e 55 4c |to recei|ve a NUL|
|00004ae0| 4c 20 70 6f 69 6e 74 65 | 72 2e 20 49 6e 20 74 68 |L pointe|r. In th|
|00004af0| 69 73 20 63 61 73 65 2c | 20 74 68 65 0a 63 6f 6d |is case,| the.com|
|00004b00| 6d 6f 64 69 74 69 65 73 | 20 69 6e 74 65 72 66 61 |modities| interfa|
|00004b10| 63 65 20 69 73 20 6e 6f | 74 20 61 76 61 69 6c 61 |ce is no|t availa|
|00004b20| 62 6c 65 2c 20 6d 61 79 | 62 65 20 62 65 63 61 75 |ble, may|be becau|
|00004b30| 73 65 20 74 68 65 0a 75 | 73 65 72 20 69 6e 73 74 |se the.u|ser inst|
|00004b40| 61 6c 6c 65 64 20 61 20 | 6c 69 67 68 74 20 76 65 |alled a |light ve|
|00004b50| 72 73 69 6f 6e 20 6f 66 | 20 4d 55 49 2e 0a 0a 5c |rsion of| MUI...\|
|00004b60| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 53 |subsubse|ction*{S|
|00004b70| 45 45 20 41 4c 53 4f 7d | 0a 4d 55 49 41 5c 5f 41 |EE ALSO}|.MUIA\_A|
|00004b80| 70 70 6c 69 63 61 74 69 | 6f 6e 5c 5f 42 72 6f 6b |pplicati|on\_Brok|
|00004b90| 65 72 48 6f 6f 6b 0a 0a | 5c 73 75 62 73 65 63 74 |erHook..|\subsect|
|00004ba0| 69 6f 6e 5b 4d 55 49 41 | 5c 5f 41 70 70 6c 69 63 |ion[MUIA|\_Applic|
|00004bb0| 61 74 69 6f 6e 5c 5f 42 | 72 6f 6b 65 72 50 72 69 |ation\_B|rokerPri|
|00004bc0| 5d 7b 4d 55 49 41 5c 5f | 41 70 70 6c 69 63 61 74 |]{MUIA\_|Applicat|
|00004bd0| 69 6f 6e 5c 5f 42 72 6f | 6b 65 72 50 72 69 20 2d |ion\_Bro|kerPri -|
|00004be0| 2d 20 28 56 36 29 20 5b | 49 2e 47 5d 2c 20 4c 4f |- (V6) [|I.G], LO|
|00004bf0| 4e 47 7d 0a 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |NG}..\su|bsubsect|
|00004c00| 69 6f 6e 2a 7b 46 55 4e | 43 54 49 4f 4e 7d 0a 41 |ion*{FUN|CTION}.A|
|00004c10| 64 6a 75 73 74 20 74 68 | 65 20 70 72 69 6f 72 69 |djust th|e priori|
|00004c20| 74 79 20 6f 66 20 61 6e | 20 61 70 70 6c 69 63 61 |ty of an| applica|
|00004c30| 74 69 6f 6e 73 20 62 72 | 6f 6b 65 72 2e 0a 0a 5c |tions br|oker...\|
|00004c40| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 53 |subsubse|ction*{S|
|00004c50| 45 45 20 41 4c 53 4f 7d | 0a 4d 55 49 41 5c 5f 41 |EE ALSO}|.MUIA\_A|
|00004c60| 70 70 6c 69 63 61 74 69 | 6f 6e 5c 5f 42 72 6f 6b |pplicati|on\_Brok|
|00004c70| 65 72 48 6f 6f 6b 0a 0a | 5c 73 75 62 73 65 63 74 |erHook..|\subsect|
|00004c80| 69 6f 6e 5b 4d 55 49 41 | 5c 5f 41 70 70 6c 69 63 |ion[MUIA|\_Applic|
|00004c90| 61 74 69 6f 6e 5c 5f 43 | 6f 6d 6d 61 6e 64 73 5d |ation\_C|ommands]|
|00004ca0| 7b 4d 55 49 41 5c 5f 41 | 70 70 6c 69 63 61 74 69 |{MUIA\_A|pplicati|
|00004cb0| 6f 6e 5c 5f 43 6f 6d 6d | 61 6e 64 73 20 2d 2d 20 |on\_Comm|ands -- |
|00004cc0| 28 56 34 29 20 5b 49 53 | 47 5d 2c 20 73 74 72 75 |(V4) [IS|G], stru|
|00004cd0| 63 74 20 4d 55 49 5c 5f | 43 6f 6d 6d 61 6e 64 20 |ct MUI\_|Command |
|00004ce0| 24 5c 61 73 74 24 7d 0a | 0a 5c 73 75 62 73 75 62 |$\ast$}.|.\subsub|
|00004cf0| 73 65 63 74 69 6f 6e 2a | 7b 46 55 4e 43 54 49 4f |section*|{FUNCTIO|
|00004d00| 4e 7d 0a 54 68 69 73 20 | 61 74 74 72 69 62 75 74 |N}.This |attribut|
|00004d10| 65 20 61 6c 6c 6f 77 73 | 20 61 6e 20 61 70 70 6c |e allows| an appl|
|00004d20| 69 63 61 74 69 6f 6e 20 | 74 6f 20 69 6e 63 6c 75 |ication |to inclu|
|00004d30| 64 65 0a 69 74 73 20 6f | 77 6e 20 73 65 74 20 6f |de.its o|wn set o|
|00004d40| 66 20 41 52 65 78 78 20 | 63 6f 6d 6d 61 6e 64 73 |f ARexx |commands|
|00004d50| 2e 20 59 6f 75 20 73 70 | 65 63 69 66 79 20 61 0a |. You sp|ecify a.|
|00004d60| 70 6f 69 6e 74 65 72 20 | 74 6f 20 61 6e 20 61 72 |pointer |to an ar|
|00004d70| 72 61 79 20 6f 66 20 4d | 55 49 5c 5f 43 6f 6d 6d |ray of M|UI\_Comm|
|00004d80| 61 6e 64 20 73 74 72 75 | 63 74 75 72 65 73 2c 0a |and stru|ctures,.|
|00004d90| 77 68 69 63 68 20 6c 6f | 6f 6b 20 6c 69 6b 65 20 |which lo|ok like |
|00004da0| 74 68 69 73 3a 0a 0a 5c | 73 6d 61 6c 6c 20 5c 62 |this:..\|small \b|
|00004db0| 65 67 69 6e 7b 76 65 72 | 62 61 74 69 6d 7d 0a 20 |egin{ver|batim}. |
|00004dc0| 20 20 0a 20 20 20 73 74 | 72 75 63 74 20 4d 55 49 | . st|ruct MUI|
|00004dd0| 5f 43 6f 6d 6d 61 6e 64 | 0a 20 20 20 7b 0a 20 20 |_Command|. {. |
|00004de0| 20 20 20 20 63 68 61 72 | 20 20 20 20 20 20 20 20 | char| |
|00004df0| 2a 6d 63 5f 4e 61 6d 65 | 3b 0a 20 20 20 20 20 20 |*mc_Name|;. |
|00004e00| 63 68 61 72 20 20 20 20 | 20 20 20 20 2a 6d 63 5f |char | *mc_|
|00004e10| 54 65 6d 70 6c 61 74 65 | 3b 0a 20 20 20 20 20 20 |Template|;. |
|00004e20| 4c 4f 4e 47 20 20 20 20 | 20 20 20 20 20 6d 63 5f |LONG | mc_|
|00004e30| 50 61 72 61 6d 65 74 65 | 72 73 3b 0a 20 20 20 20 |Paramete|rs;. |
|00004e40| 20 20 73 74 72 75 63 74 | 20 48 6f 6f 6b 20 2a 6d | struct| Hook *m|
|00004e50| 63 5f 48 6f 6f 6b 3b 0a | 20 20 20 20 20 20 4c 4f |c_Hook;.| LO|
|00004e60| 4e 47 20 20 20 20 20 20 | 20 20 20 6d 63 5f 52 65 |NG | mc_Re|
|00004e70| 73 65 72 76 65 64 5b 35 | 5d 3b 0a 20 20 20 7d 3b |served[5|];. };|
|00004e80| 0a 20 20 20 0a 5c 65 6e | 64 7b 76 65 72 62 61 74 |. .\en|d{verbat|
|00004e90| 69 6d 7d 20 5c 6e 6f 72 | 6d 61 6c 73 69 7a 65 0a |im} \nor|malsize.|
|00004ea0| 0a 5c 62 65 67 69 6e 7b | 64 65 73 63 72 69 70 74 |.\begin{|descript|
|00004eb0| 69 6f 6e 7d 0a 5c 69 74 | 65 6d 5b 6d 63 5c 5f 4e |ion}.\it|em[mc\_N|
|00004ec0| 61 6d 65 5d 20 20 20 20 | 20 20 20 63 6f 6e 74 61 |ame] | conta|
|00004ed0| 69 6e 73 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |ins the |name of |
|00004ee0| 79 6f 75 72 20 63 6f 6d | 6d 61 6e 64 2e 0a 43 6f |your com|mand..Co|
|00004ef0| 6d 6d 61 6e 64 73 20 61 | 72 65 20 6e 6f 74 20 63 |mmands a|re not c|
|00004f00| 61 73 65 20 73 65 6e 73 | 69 74 69 76 65 2e 0a 0a |ase sens|itive...|
|00004f10| 5c 69 74 65 6d 5b 6d 63 | 5c 5f 54 65 6d 70 6c 61 |\item[mc|\_Templa|
|00004f20| 74 65 5d 20 20 20 69 73 | 20 61 6e 20 61 72 67 75 |te] is| an argu|
|00004f30| 6d 65 6e 74 20 74 65 6d | 70 6c 61 74 65 20 74 68 |ment tem|plate th|
|00004f40| 61 74 20 66 6f 6c 6c 6f | 77 73 0a 74 68 65 20 73 |at follo|ws.the s|
|00004f50| 61 6d 65 20 72 75 6c 65 | 73 20 61 73 20 64 6f 73 |ame rule|s as dos|
|00004f60| 2e 6c 69 62 72 61 72 79 | 2f 52 65 61 64 41 72 67 |.library|/ReadArg|
|00004f70| 73 28 29 2e 0a 49 74 20 | 6d 61 79 20 62 65 20 4e |s()..It |may be N|
|00004f80| 55 4c 4c 2c 20 69 6e 20 | 77 68 69 63 68 20 63 61 |ULL, in |which ca|
|00004f90| 73 65 20 79 6f 75 72 20 | 63 6f 6d 6d 61 6e 64 0a |se your |command.|
|00004fa0| 64 6f 65 73 6e 27 74 20 | 6e 65 65 64 20 61 6e 79 |doesn't |need any|
|00004fb0| 20 70 61 72 61 6d 65 74 | 65 72 73 2e 0a 0a 5c 69 | paramet|ers...\i|
|00004fc0| 74 65 6d 5b 6d 63 5c 5f | 50 61 72 61 6d 65 74 65 |tem[mc\_|Paramete|
|00004fd0| 72 73 5d 20 69 73 20 74 | 68 65 20 6e 75 6d 62 65 |rs] is t|he numbe|
|00004fe0| 72 20 6f 66 20 70 61 72 | 61 6d 65 74 65 72 73 20 |r of par|ameters |
|00004ff0| 73 70 65 63 69 66 69 65 | 64 0a 69 6e 20 74 68 65 |specifie|d.in the|
|00005000| 20 74 65 6d 70 6c 61 74 | 65 20 61 72 72 61 79 2e | templat|e array.|
|00005010| 0a 0a 5c 69 74 65 6d 5b | 6d 63 5c 5f 48 6f 6f 6b |..\item[|mc\_Hook|
|00005020| 5d 20 20 20 20 20 20 20 | 69 73 20 61 20 70 6f 69 |] |is a poi|
|00005030| 6e 74 65 72 20 74 6f 20 | 74 68 65 20 63 61 6c 6c |nter to |the call|
|00005040| 62 61 63 6b 20 68 6f 6f | 6b 20 64 65 66 69 6e 69 |back hoo|k defini|
|00005050| 6e 67 0a 74 68 65 20 66 | 75 6e 63 74 69 6f 6e 20 |ng.the f|unction |
|00005060| 74 6f 20 62 65 20 63 61 | 6c 6c 65 64 2e 0a 5c 65 |to be ca|lled..\e|
|00005070| 6e 64 7b 64 65 73 63 72 | 69 70 74 69 6f 6e 7d 0a |nd{descr|iption}.|
|00005080| 0a 59 6f 75 20 6d 61 79 | 20 73 70 65 63 69 66 79 |.You may| specify|
|00005090| 20 61 6e 79 20 6e 75 6d | 62 65 72 20 6f 66 20 4d | any num|ber of M|
|000050a0| 55 49 5c 5f 43 6f 6d 6d | 61 6e 64 20 73 74 72 75 |UI\_Comm|and stru|
|000050b0| 63 74 75 72 65 73 2c 0a | 62 75 74 20 79 6f 75 20 |ctures,.|but you |
|000050c0| 6d 75 73 74 20 74 65 72 | 6d 69 6e 61 74 65 20 79 |must ter|minate y|
|000050d0| 6f 75 72 20 61 72 72 61 | 79 20 77 69 74 68 20 61 |our arra|y with a|
|000050e0| 20 4e 55 4c 4c 20 66 69 | 65 6c 64 2e 0a 0a 57 68 | NULL fi|eld...Wh|
|000050f0| 65 6e 20 61 20 63 6f 6d | 6d 61 6e 64 20 73 68 6f |en a com|mand sho|
|00005100| 77 73 20 75 70 20 61 6e | 20 61 70 70 6c 69 63 61 |ws up an| applica|
|00005110| 74 69 6f 6e 73 20 41 52 | 65 78 78 20 70 6f 72 74 |tions AR|exx port|
|00005120| 2c 0a 4d 55 49 20 70 61 | 72 73 65 73 20 74 68 65 |,.MUI pa|rses the|
|00005130| 20 61 72 67 75 6d 65 6e | 74 73 20 61 63 63 6f 72 | argumen|ts accor|
|00005140| 64 69 6e 67 20 74 6f 20 | 74 68 65 20 67 69 76 65 |ding to |the give|
|00005150| 6e 0a 74 65 6d 70 6c 61 | 74 65 20 61 6e 64 20 63 |n.templa|te and c|
|00005160| 61 6c 6c 73 20 74 68 65 | 20 68 6f 6f 6b 20 77 69 |alls the| hook wi|
|00005170| 74 68 20 74 68 65 20 61 | 70 70 6c 69 63 61 74 69 |th the a|pplicati|
|00005180| 6f 6e 0a 6f 62 6a 65 63 | 74 20 61 73 20 68 6f 6f |on.objec|t as hoo|
|00005190| 6b 20 6f 62 6a 65 63 74 | 20 69 6e 20 61 32 20 61 |k object| in a2 a|
|000051a0| 6e 64 20 61 20 70 6f 69 | 6e 74 65 72 20 74 6f 0a |nd a poi|nter to.|
|000051b0| 61 6e 20 61 72 72 61 79 | 20 6f 66 20 6c 6f 6e 67 |an array| of long|
|000051c0| 77 6f 72 64 73 20 63 6f | 6e 74 61 69 6e 69 6e 67 |words co|ntaining|
|000051d0| 20 74 68 65 20 70 61 72 | 61 6d 65 74 65 72 73 0a | the par|ameters.|
|000051e0| 69 6e 20 61 31 2e 0a 0a | 54 68 65 20 72 65 73 75 |in a1...|The resu|
|000051f0| 6c 74 20 63 6f 64 65 20 | 6f 66 20 79 6f 75 72 20 |lt code |of your |
|00005200| 68 6f 6f 6b 20 77 69 6c | 6c 20 62 65 20 72 65 70 |hook wil|l be rep|
|00005210| 6c 69 65 64 20 74 6f 0a | 41 52 65 78 78 20 61 73 |lied to.|ARexx as|
|00005220| 20 72 63 2e 0a 0a 49 66 | 20 79 6f 75 20 68 61 76 | rc...If| you hav|
|00005230| 65 20 73 6f 6d 65 20 73 | 69 6d 70 6c 65 20 41 52 |e some s|imple AR|
|00005240| 65 78 78 20 63 6f 6d 6d | 61 6e 64 73 20 74 68 61 |exx comm|ands tha|
|00005250| 74 20 6a 75 73 74 0a 65 | 6d 75 6c 61 74 65 20 73 |t just.e|mulate s|
|00005260| 6f 6d 65 20 75 73 65 72 | 20 61 63 74 69 6f 6e 20 |ome user| action |
|00005270| 28 65 2e 67 2e 20 63 6c | 69 63 6b 69 6e 67 20 61 |(e.g. cl|icking a|
|00005280| 20 62 75 74 74 6f 6e 29 | 2c 0a 79 6f 75 20 63 61 | button)|,.you ca|
|00005290| 6e 20 75 73 65 20 74 68 | 65 20 6d 61 67 69 63 20 |n use th|e magic |
|000052a0| 63 6f 6f 6b 69 65 20 4d | 43 5c 5f 54 45 4d 50 4c |cookie M|C\_TEMPL|
|000052b0| 41 54 45 5c 5f 49 44 20 | 66 6f 72 0a 6d 63 5c 5f |ATE\_ID |for.mc\_|
|000052c0| 54 65 6d 70 6c 61 74 65 | 20 61 6e 64 20 61 20 72 |Template| and a r|
|000052d0| 65 74 75 72 6e 20 69 64 | 20 76 61 6c 75 65 20 66 |eturn id| value f|
|000052e0| 6f 72 20 6d 63 5c 5f 50 | 61 72 61 6d 65 74 65 72 |or mc\_P|arameter|
|000052f0| 73 2e 0a 49 6e 20 74 68 | 69 73 20 63 61 73 65 2c |s..In th|is case,|
|00005300| 20 4d 55 49 20 77 69 6c | 6c 20 64 6f 20 6e 6f 20 | MUI wil|l do no |
|00005310| 61 72 67 75 6d 65 6e 74 | 20 70 61 72 73 69 6e 67 |argument| parsing|
|00005320| 20 61 6e 64 0a 69 6e 73 | 74 65 61 64 20 73 69 6d | and.ins|tead sim|
|00005330| 70 6c 79 20 72 65 74 75 | 72 6e 20 74 68 65 20 73 |ply retu|rn the s|
|00005340| 70 65 63 69 66 69 65 64 | 20 69 64 20 76 61 6c 75 |pecified| id valu|
|00005350| 65 20 6f 6e 20 74 68 65 | 0a 6e 65 78 74 20 63 61 |e on the|.next ca|
|00005360| 6c 6c 20 74 6f 20 4d 55 | 49 4d 5c 5f 41 70 70 6c |ll to MU|IM\_Appl|
|00005370| 69 63 61 74 69 6f 6e 5c | 5f 49 6e 70 75 74 2e 0a |ication\|_Input..|
|00005380| 0a 46 6f 72 20 6d 6f 72 | 65 20 73 6f 70 68 69 73 |.For mor|e sophis|
|00005390| 74 69 63 61 74 65 64 20 | 70 6f 73 73 69 62 69 6c |ticated |possibil|
|000053a0| 69 74 69 65 73 20 69 6e | 20 41 52 65 78 78 0a 63 |ities in| ARexx.c|
|000053b0| 61 6c 6c 62 61 63 6b 20 | 68 6f 6f 6b 73 2c 20 70 |allback |hooks, p|
|000053c0| 6c 65 61 73 65 20 72 65 | 66 65 72 20 74 6f 0a 4d |lease re|fer to.M|
|000053d0| 55 49 41 5c 5f 41 70 70 | 6c 69 63 61 74 69 6f 6e |UIA\_App|lication|
|000053e0| 5c 5f 52 65 78 78 4d 73 | 67 20 61 6e 64 20 4d 55 |\_RexxMs|g and MU|
|000053f0| 49 41 5c 5f 41 70 70 6c | 69 63 61 74 69 6f 6e 5c |IA\_Appl|ication\|
|00005400| 5f 52 65 78 78 53 74 72 | 69 6e 67 2e 0a 0a 5c 73 |_RexxStr|ing...\s|
|00005410| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 45 58 |ubsubsec|tion*{EX|
|00005420| 41 4d 50 4c 45 7d 0a 5c | 73 6d 61 6c 6c 0a 5c 62 |AMPLE}.\|small.\b|
|00005430| 65 67 69 6e 7b 76 65 72 | 62 61 74 69 6d 7d 0a 73 |egin{ver|batim}.s|
|00005440| 74 61 74 69 63 20 73 74 | 72 75 63 74 20 4d 55 49 |tatic st|ruct MUI|
|00005450| 5f 43 6f 6d 6d 61 6e 64 | 20 63 6f 6d 6d 61 6e 64 |_Command| command|
|00005460| 73 5b 5d 20 3d 0a 7b 0a | 20 20 20 7b 20 22 72 65 |s[] =.{.| { "re|
|00005470| 73 63 61 6e 22 2c 20 4d | 43 5f 54 45 4d 50 4c 41 |scan", M|C_TEMPLA|
|00005480| 54 45 5f 49 44 2c 20 49 | 44 5f 52 45 53 43 41 4e |TE_ID, I|D_RESCAN|
|00005490| 2c 20 4e 55 4c 4c 20 20 | 20 20 20 7d 2c 0a 20 20 |, NULL | },. |
|000054a0| 20 7b 20 22 73 65 6c 65 | 63 74 22 2c 20 22 50 41 | { "sele|ct", "PA|
|000054b0| 54 54 45 52 4e 2f 41 22 | 20 20 20 2c 20 31 20 20 |TTERN/A"| , 1 |
|000054c0| 20 20 20 20 20 20 2c 20 | 26 73 65 6c 68 6f 6f 6b | , |&selhook|
|000054d0| 20 7d 2c 0a 20 20 20 7b | 20 4e 55 4c 4c 20 20 20 | },. {| NULL |
|000054e0| 20 2c 20 4e 55 4c 4c 20 | 20 20 20 20 20 20 20 20 | , NULL | |
|000054f0| 20 2c 20 4e 55 4c 4c 20 | 20 20 20 20 2c 20 4e 55 | , NULL | , NU|
|00005500| 4c 4c 20 20 20 20 20 7d | 0a 7d 3b 0a 0a 5c 65 6e |LL }|.};..\en|
|00005510| 64 7b 76 65 72 62 61 74 | 69 6d 7d 0a 5c 6e 6f 72 |d{verbat|im}.\nor|
|00005520| 6d 61 6c 73 69 7a 65 0a | 5c 73 75 62 73 75 62 73 |malsize.|\subsubs|
|00005530| 65 63 74 69 6f 6e 2a 7b | 53 45 45 20 41 4c 53 4f |ection*{|SEE ALSO|
|00005540| 7d 0a 4d 55 49 41 5c 5f | 41 70 70 6c 69 63 61 74 |}.MUIA\_|Applicat|
|00005550| 69 6f 6e 5c 5f 52 65 78 | 78 4d 73 67 2c 20 4d 55 |ion\_Rex|xMsg, MU|
|00005560| 49 41 5c 5f 41 70 70 6c | 69 63 61 74 69 6f 6e 5c |IA\_Appl|ication\|
|00005570| 5f 52 65 78 78 53 74 72 | 69 6e 67 0a 0a 5c 73 75 |_RexxStr|ing..\su|
|00005580| 62 73 65 63 74 69 6f 6e | 5b 4d 55 49 41 5c 5f 41 |bsection|[MUIA\_A|
|00005590| 70 70 6c 69 63 61 74 69 | 6f 6e 5c 5f 43 6f 70 79 |pplicati|on\_Copy|
|000055a0| 72 69 67 68 74 5d 7b 4d | 55 49 41 5c 5f 41 70 70 |right]{M|UIA\_App|
|000055b0| 6c 69 63 61 74 69 6f 6e | 5c 5f 43 6f 70 79 72 69 |lication|\_Copyri|
|000055c0| 67 68 74 20 2d 2d 20 28 | 56 34 29 20 5b 49 2e 47 |ght -- (|V4) [I.G|
|000055d0| 5d 2c 20 53 54 52 50 54 | 52 7d 0a 0a 5c 73 75 62 |], STRPT|R}..\sub|
|000055e0| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 46 55 4e 43 |subsecti|on*{FUNC|
|000055f0| 54 49 4f 4e 7d 0a 41 20 | 63 6f 70 79 72 69 67 68 |TION}.A |copyrigh|
|00005600| 74 20 73 74 72 69 6e 67 | 2c 20 63 6f 6e 74 61 69 |t string|, contai|
|00005610| 6e 69 6e 67 20 74 68 65 | 20 79 65 61 72 20 61 6e |ning the| year an|
|00005620| 64 20 74 68 65 0a 63 6f | 6d 70 61 6e 79 2e 0a 0a |d the.co|mpany...|
|00005630| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|00005640| 45 58 41 4d 50 4c 45 7d | 0a 5c 73 6d 61 6c 6c 0a |EXAMPLE}|.\small.|
|00005650| 5c 62 65 67 69 6e 7b 76 | 65 72 62 61 74 69 6d 7d |\begin{v|erbatim}|
|00005660| 0a 73 65 65 20 4d 55 49 | 41 5f 41 70 70 6c 69 63 |.see MUI|A_Applic|
|00005670| 61 74 69 6f 6e 5f 54 69 | 74 6c 65 0a 0a 5c 65 6e |ation_Ti|tle..\en|
|00005680| 64 7b 76 65 72 62 61 74 | 69 6d 7d 0a 5c 6e 6f 72 |d{verbat|im}.\nor|
|00005690| 6d 61 6c 73 69 7a 65 0a | 5c 73 75 62 73 75 62 73 |malsize.|\subsubs|
|000056a0| 65 63 74 69 6f 6e 2a 7b | 53 45 45 20 41 4c 53 4f |ection*{|SEE ALSO|
|000056b0| 7d 0a 4d 55 49 41 5c 5f | 41 70 70 6c 69 63 61 74 |}.MUIA\_|Applicat|
|000056c0| 69 6f 6e 5c 5f 54 69 74 | 6c 65 2c 20 4d 55 49 41 |ion\_Tit|le, MUIA|
|000056d0| 5c 5f 41 70 70 6c 69 63 | 61 74 69 6f 6e 5c 5f 56 |\_Applic|ation\_V|
|000056e0| 65 72 73 69 6f 6e 2c 0a | 4d 55 49 41 5c 5f 41 70 |ersion,.|MUIA\_Ap|
|000056f0| 70 6c 69 63 61 74 69 6f | 6e 5c 5f 41 75 74 68 6f |plicatio|n\_Autho|
|00005700| 72 2c 20 4d 55 49 41 5c | 5f 41 70 70 6c 69 63 61 |r, MUIA\|_Applica|
|00005710| 74 69 6f 6e 5c 5f 44 65 | 73 63 72 69 70 74 69 6f |tion\_De|scriptio|
|00005720| 6e 2c 0a 4d 55 49 41 5c | 5f 41 70 70 6c 69 63 61 |n,.MUIA\|_Applica|
|00005730| 74 69 6f 6e 5c 5f 42 61 | 73 65 0a 0a 5c 73 75 62 |tion\_Ba|se..\sub|
|00005740| 73 65 63 74 69 6f 6e 5b | 4d 55 49 41 5c 5f 41 70 |section[|MUIA\_Ap|
|00005750| 70 6c 69 63 61 74 69 6f | 6e 5c 5f 44 65 73 63 72 |plicatio|n\_Descr|
|00005760| 69 70 74 69 6f 6e 5d 7b | 4d 55 49 41 5c 5f 41 70 |iption]{|MUIA\_Ap|
|00005770| 70 6c 69 63 61 74 69 6f | 6e 5c 5f 44 65 73 63 72 |plicatio|n\_Descr|
|00005780| 69 70 74 69 6f 6e 20 2d | 2d 20 28 56 34 29 20 5b |iption -|- (V4) [|
|00005790| 49 2e 47 5d 2c 20 53 54 | 52 50 54 52 7d 0a 0a 5c |I.G], ST|RPTR}..\|
|000057a0| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 46 |subsubse|ction*{F|
|000057b0| 55 4e 43 54 49 4f 4e 7d | 0a 53 68 6f 72 74 20 64 |UNCTION}|.Short d|
|000057c0| 65 73 63 72 69 70 74 69 | 6f 6e 2c 20 61 62 6f 75 |escripti|on, abou|
|000057d0| 74 20 34 30 20 63 68 61 | 72 61 63 74 65 72 73 2e |t 40 cha|racters.|
|000057e0| 0a 53 68 6f 77 6e 20 65 | 2e 67 2e 20 69 6e 20 63 |.Shown e|.g. in c|
|000057f0| 6f 6d 6d 6f 64 69 74 69 | 65 73 20 65 78 63 68 61 |ommoditi|es excha|
|00005800| 6e 67 65 2e 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |nge...\s|ubsubsec|
|00005810| 74 69 6f 6e 2a 7b 45 58 | 41 4d 50 4c 45 7d 0a 5c |tion*{EX|AMPLE}.\|
|00005820| 73 6d 61 6c 6c 0a 5c 62 | 65 67 69 6e 7b 76 65 72 |small.\b|egin{ver|
|00005830| 62 61 74 69 6d 7d 0a 73 | 65 65 20 4d 55 49 41 5f |batim}.s|ee MUIA_|
|00005840| 41 70 70 6c 69 63 61 74 | 69 6f 6e 5f 54 69 74 6c |Applicat|ion_Titl|
|00005850| 65 0a 0a 5c 65 6e 64 7b | 76 65 72 62 61 74 69 6d |e..\end{|verbatim|
|00005860| 7d 0a 5c 6e 6f 72 6d 61 | 6c 73 69 7a 65 0a 5c 73 |}.\norma|lsize.\s|
|00005870| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 53 45 |ubsubsec|tion*{SE|
|00005880| 45 20 41 4c 53 4f 7d 0a | 4d 55 49 41 5c 5f 41 70 |E ALSO}.|MUIA\_Ap|
|00005890| 70 6c 69 63 61 74 69 6f | 6e 5c 5f 54 69 74 6c 65 |plicatio|n\_Title|
|000058a0| 2c 20 4d 55 49 41 5c 5f | 41 70 70 6c 69 63 61 74 |, MUIA\_|Applicat|
|000058b0| 69 6f 6e 5c 5f 56 65 72 | 73 69 6f 6e 2c 0a 4d 55 |ion\_Ver|sion,.MU|
|000058c0| 49 41 5c 5f 41 70 70 6c | 69 63 61 74 69 6f 6e 5c |IA\_Appl|ication\|
|000058d0| 5f 41 75 74 68 6f 72 2c | 20 4d 55 49 41 5c 5f 41 |_Author,| MUIA\_A|
|000058e0| 70 70 6c 69 63 61 74 69 | 6f 6e 5c 5f 43 6f 70 79 |pplicati|on\_Copy|
|000058f0| 72 69 67 68 74 2c 0a 4d | 55 49 41 5c 5f 41 70 70 |right,.M|UIA\_App|
|00005900| 6c 69 63 61 74 69 6f 6e | 5c 5f 42 61 73 65 0a 0a |lication|\_Base..|
|00005910| 5c 73 75 62 73 65 63 74 | 69 6f 6e 5b 4d 55 49 41 |\subsect|ion[MUIA|
|00005920| 5c 5f 41 70 70 6c 69 63 | 61 74 69 6f 6e 5c 5f 44 |\_Applic|ation\_D|
|00005930| 69 73 6b 4f 62 6a 65 63 | 74 5d 7b 4d 55 49 41 5c |iskObjec|t]{MUIA\|
|00005940| 5f 41 70 70 6c 69 63 61 | 74 69 6f 6e 5c 5f 44 69 |_Applica|tion\_Di|
|00005950| 73 6b 4f 62 6a 65 63 74 | 20 2d 2d 20 28 56 34 29 |skObject| -- (V4)|
|00005960| 20 5b 49 53 47 5d 2c 20 | 73 74 72 75 63 74 20 44 | [ISG], |struct D|
|00005970| 69 73 6b 4f 62 6a 65 63 | 74 20 24 5c 61 73 74 24 |iskObjec|t $\ast$|
|00005980| 7d 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |}..\subs|ubsectio|
|00005990| 6e 2a 7b 46 55 4e 43 54 | 49 4f 4e 7d 0a 50 6f 69 |n*{FUNCT|ION}.Poi|
|000059a0| 6e 74 65 72 20 74 6f 20 | 61 20 73 74 72 75 63 74 |nter to |a struct|
|000059b0| 20 44 69 73 6b 4f 62 6a | 65 63 74 2c 20 65 2e 67 | DiskObj|ect, e.g|
|000059c0| 2e 20 6f 62 74 61 69 6e | 65 64 0a 66 72 6f 6d 20 |. obtain|ed.from |
|000059d0| 47 65 74 44 69 73 6b 4f | 62 6a 65 63 74 28 29 2e |GetDiskO|bject().|
|000059e0| 20 49 66 20 70 72 65 73 | 65 6e 74 2c 20 4d 55 49 | If pres|ent, MUI|
|000059f0| 20 77 69 6c 6c 20 75 73 | 65 0a 74 68 69 73 20 6f | will us|e.this o|
|00005a00| 62 6a 65 63 74 20 66 6f | 72 20 74 68 65 20 41 70 |bject fo|r the Ap|
|00005a10| 70 49 63 6f 6e 20 77 68 | 65 6e 20 79 6f 75 72 20 |pIcon wh|en your |
|00005a20| 61 70 70 6c 69 63 61 74 | 69 6f 6e 0a 67 65 74 73 |applicat|ion.gets|
|00005a30| 20 69 63 6f 6e 69 66 69 | 65 64 2e 0a 0a 4f 74 68 | iconifi|ed...Oth|
|00005a40| 65 72 77 69 73 65 20 4d | 55 49 20 77 69 6c 6c 20 |erwise M|UI will |
|00005a50| 74 72 79 20 74 6f 20 6c | 6f 63 61 74 65 20 27 27 |try to l|ocate ''|
|00005a60| 65 6e 76 3a 73 79 73 2f | 64 65 76 5c 5f 6d 75 69 |env:sys/|dev\_mui|
|00005a70| 2e 69 6e 66 6f 27 27 0a | 61 6e 64 2c 20 69 66 20 |.info''.|and, if |
|00005a80| 6e 6f 74 20 70 72 65 73 | 65 6e 74 2c 20 66 61 6c |not pres|ent, fal|
|00005a90| 6c 20 62 61 63 6b 20 74 | 6f 20 61 20 64 65 66 61 |l back t|o a defa|
|00005aa0| 75 6c 74 20 69 63 6f 6e | 2e 0a 0a 5c 73 75 62 73 |ult icon|...\subs|
|00005ab0| 75 62 73 65 63 74 69 6f | 6e 2a 7b 45 58 41 4d 50 |ubsectio|n*{EXAMP|
|00005ac0| 4c 45 7d 0a 5c 73 6d 61 | 6c 6c 0a 5c 62 65 67 69 |LE}.\sma|ll.\begi|
|00005ad0| 6e 7b 76 65 72 62 61 74 | 69 6d 7d 0a 2e 2e 2e 0a |n{verbat|im}.....|
|00005ae0| 4d 55 49 41 5f 41 70 70 | 6c 69 63 61 74 69 6f 6e |MUIA_App|lication|
|00005af0| 5f 44 69 73 6b 4f 62 6a | 65 63 74 2c 20 0a 20 20 |_DiskObj|ect, . |
|00005b00| 20 64 6f 62 6a 20 3d 20 | 47 65 74 44 69 73 6b 4f | dobj = |GetDiskO|
|00005b10| 62 6a 65 63 74 28 22 50 | 52 4f 47 44 49 52 3a 4d |bject("P|ROGDIR:M|
|00005b20| 79 41 70 70 22 29 2c 0a | 2e 2e 2e 0a 0a 2f 2a 20 |yApp"),.|...../* |
|00005b30| 6e 6f 74 65 20 74 68 61 | 74 20 79 6f 75 20 68 61 |note tha|t you ha|
|00005b40| 76 65 20 74 6f 20 66 72 | 65 65 20 64 6f 62 6a 20 |ve to fr|ee dobj |
|00005b50| 79 6f 75 72 73 65 6c 66 | 21 20 2a 2f 0a 0a 5c 65 |yourself|! */..\e|
|00005b60| 6e 64 7b 76 65 72 62 61 | 74 69 6d 7d 20 5c 6e 6f |nd{verba|tim} \no|
|00005b70| 72 6d 61 6c 73 69 7a 65 | 0a 5c 73 75 62 73 75 62 |rmalsize|.\subsub|
|00005b80| 73 65 63 74 69 6f 6e 2a | 7b 4e 4f 54 45 7d 0a 55 |section*|{NOTE}.U|
|00005b90| 6e 6c 65 73 73 20 79 6f | 75 20 68 61 76 65 20 73 |nless yo|u have s|
|00005ba0| 65 74 20 4d 55 49 41 5c | 5f 41 70 70 6c 69 63 61 |et MUIA\|_Applica|
|00005bb0| 74 69 6f 6e 5c 5f 52 65 | 71 75 69 72 65 73 49 63 |tion\_Re|quiresIc|
|00005bc0| 6f 6e 69 66 69 63 61 74 | 69 6f 6e 2c 0a 74 68 69 |onificat|ion,.thi|
|00005bd0| 73 20 61 74 74 72 69 62 | 75 74 65 20 6d 69 67 68 |s attrib|ute migh|
|00005be0| 74 20 68 61 76 65 20 6e | 6f 20 65 66 66 65 63 74 |t have n|o effect|
|00005bf0| 2c 20 6d 61 79 62 65 20 | 62 65 63 61 75 73 65 20 |, maybe |because |
|00005c00| 74 68 65 0a 75 73 65 72 | 20 69 6e 73 74 61 6c 6c |the.user| install|
|00005c10| 65 64 20 61 20 6c 69 67 | 68 74 20 76 65 72 73 69 |ed a lig|ht versi|
|00005c20| 6f 6e 20 6f 66 20 4d 55 | 49 2e 20 59 6f 75 20 6d |on of MU|I. You m|
|00005c30| 75 73 74 20 62 65 20 70 | 72 65 70 61 72 65 64 0a |ust be p|repared.|
|00005c40| 74 6f 20 72 65 63 65 69 | 76 65 20 61 20 4e 55 4c |to recei|ve a NUL|
|00005c50| 4c 20 70 6f 69 6e 74 65 | 72 20 77 68 65 6e 20 79 |L pointe|r when y|
|00005c60| 6f 75 20 74 72 79 20 74 | 6f 20 72 65 61 64 20 69 |ou try t|o read i|
|00005c70| 74 21 0a 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |t!..\sub|subsecti|
|00005c80| 6f 6e 2a 7b 53 45 45 20 | 41 4c 53 4f 7d 0a 4d 55 |on*{SEE |ALSO}.MU|
|00005c90| 49 41 5c 5f 41 70 70 6c | 69 63 61 74 69 6f 6e 5c |IA\_Appl|ication\|
|00005ca0| 5f 49 63 6f 6e 69 66 69 | 65 64 0a 0a 5c 73 75 62 |_Iconifi|ed..\sub|
|00005cb0| 73 65 63 74 69 6f 6e 5b | 4d 55 49 41 5c 5f 41 70 |section[|MUIA\_Ap|
|00005cc0| 70 6c 69 63 61 74 69 6f | 6e 5c 5f 44 6f 75 62 6c |plicatio|n\_Doubl|
|00005cd0| 65 53 74 61 72 74 5d 7b | 4d 55 49 41 5c 5f 41 70 |eStart]{|MUIA\_Ap|
|00005ce0| 70 6c 69 63 61 74 69 6f | 6e 5c 5f 44 6f 75 62 6c |plicatio|n\_Doubl|
|00005cf0| 65 53 74 61 72 74 20 2d | 2d 20 28 56 34 29 20 5b |eStart -|- (V4) [|
|00005d00| 2e 2e 47 5d 2c 20 42 4f | 4f 4c 7d 0a 0a 5c 73 75 |..G], BO|OL}..\su|
|00005d10| 62 73 75 62 73 65 63 74 | 69 6f 6e 2a 7b 46 55 4e |bsubsect|ion*{FUN|
|00005d20| 43 54 49 4f 4e 7d 0a 54 | 68 69 73 20 61 74 74 72 |CTION}.T|his attr|
|00005d30| 69 62 75 74 65 20 69 73 | 20 73 65 74 20 61 75 74 |ibute is| set aut|
|00005d40| 6f 6d 61 74 69 63 61 6c | 6c 79 20 77 68 65 6e 20 |omatical|ly when |
|00005d50| 74 68 65 20 75 73 65 72 | 0a 74 72 69 65 73 20 74 |the user|.tries t|
|00005d60| 6f 20 73 74 61 72 74 20 | 61 20 4d 55 49 41 5c 5f |o start |a MUIA\_|
|00005d70| 53 69 6e 67 6c 65 54 61 | 73 6b 20 61 70 70 6c 69 |SingleTa|sk appli|
|00005d80| 63 61 74 69 6f 6e 20 74 | 77 69 63 65 2e 0a 59 6f |cation t|wice..Yo|
|00005d90| 75 20 63 61 6e 20 72 65 | 61 63 74 20 6f 6e 20 74 |u can re|act on t|
|00005da0| 68 69 73 20 61 6e 64 20 | 74 61 6b 65 20 61 70 70 |his and |take app|
|00005db0| 72 6f 70 72 69 61 74 65 | 20 61 63 74 69 6f 6e 73 |ropriate| actions|
|00005dc0| 2c 0a 65 2e 67 2e 20 70 | 6f 70 20 75 70 20 61 20 |,.e.g. p|op up a |
|00005dd0| 72 65 71 75 65 73 74 65 | 72 20 6f 72 20 71 75 69 |requeste|r or qui|
|00005de0| 74 20 79 6f 75 72 73 65 | 6c 66 2e 0a 0a 5c 73 75 |t yourse|lf...\su|
|00005df0| 62 73 75 62 73 65 63 74 | 69 6f 6e 2a 7b 53 45 45 |bsubsect|ion*{SEE|
|00005e00| 20 41 4c 53 4f 7d 0a 4d | 55 49 41 5c 5f 41 70 70 | ALSO}.M|UIA\_App|
|00005e10| 6c 69 63 61 74 69 6f 6e | 5c 5f 53 69 6e 67 6c 65 |lication|\_Single|
|00005e20| 54 61 73 6b 0a 0a 5c 73 | 75 62 73 65 63 74 69 6f |Task..\s|ubsectio|
|00005e30| 6e 5b 4d 55 49 41 5c 5f | 41 70 70 6c 69 63 61 74 |n[MUIA\_|Applicat|
|00005e40| 69 6f 6e 5c 5f 44 72 6f | 70 4f 62 6a 65 63 74 5d |ion\_Dro|pObject]|
|00005e50| 7b 4d 55 49 41 5c 5f 41 | 70 70 6c 69 63 61 74 69 |{MUIA\_A|pplicati|
|00005e60| 6f 6e 5c 5f 44 72 6f 70 | 4f 62 6a 65 63 74 20 2d |on\_Drop|Object -|
|00005e70| 2d 20 28 56 35 29 20 5b | 49 53 2e 5d 2c 20 4f 62 |- (V5) [|IS.], Ob|
|00005e80| 6a 65 63 74 20 24 5c 61 | 73 74 24 7d 0a 0a 5c 73 |ject $\a|st$}..\s|
|00005e90| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 46 55 |ubsubsec|tion*{FU|
|00005ea0| 4e 43 54 49 4f 4e 7d 0a | 49 66 20 79 6f 75 72 20 |NCTION}.|If your |
|00005eb0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 69 73 20 69 |applicat|ion is i|
|00005ec0| 63 6f 6e 69 66 69 65 64 | 20 61 6e 64 20 74 68 65 |conified| and the|
|00005ed0| 20 75 73 65 72 20 64 72 | 6f 70 73 0a 69 63 6f 6e | user dr|ops.icon|
|00005ee0| 73 20 6f 6e 74 6f 20 74 | 68 65 20 41 70 70 49 63 |s onto t|he AppIc|
|00005ef0| 6f 6e 2c 20 74 68 65 20 | 6f 62 6a 65 63 74 20 73 |on, the |object s|
|00005f00| 70 65 63 69 66 69 65 64 | 20 68 65 72 65 20 77 69 |pecified| here wi|
|00005f10| 6c 6c 0a 72 65 63 65 69 | 76 65 20 74 68 65 20 41 |ll.recei|ve the A|
|00005f20| 70 70 4d 65 73 73 61 67 | 65 2e 0a 0a 5c 73 75 62 |ppMessag|e...\sub|
|00005f30| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 53 45 45 20 |subsecti|on*{SEE |
|00005f40| 41 4c 53 4f 7d 0a 4d 55 | 49 41 5c 5f 57 69 6e 64 |ALSO}.MU|IA\_Wind|
|00005f50| 6f 77 5c 5f 41 70 70 57 | 69 6e 64 6f 77 2c 20 4d |ow\_AppW|indow, M|
|00005f60| 55 49 4d 5c 5f 43 61 6c | 6c 48 6f 6f 6b 0a 0a 5c |UIM\_Cal|lHook..\|
|00005f70| 73 75 62 73 65 63 74 69 | 6f 6e 5b 4d 55 49 41 5c |subsecti|on[MUIA\|
|00005f80| 5f 41 70 70 6c 69 63 61 | 74 69 6f 6e 5c 5f 46 6f |_Applica|tion\_Fo|
|00005f90| 72 63 65 51 75 69 74 5d | 7b 4d 55 49 41 5c 5f 41 |rceQuit]|{MUIA\_A|
|00005fa0| 70 70 6c 69 63 61 74 69 | 6f 6e 5c 5f 46 6f 72 63 |pplicati|on\_Forc|
|00005fb0| 65 51 75 69 74 20 2d 2d | 20 28 56 38 29 20 5b 2e |eQuit --| (V8) [.|
|00005fc0| 2e 47 5d 2c 20 42 4f 4f | 4c 7d 0a 0a 5c 73 75 62 |.G], BOO|L}..\sub|
|00005fd0| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 46 55 4e 43 |subsecti|on*{FUNC|
|00005fe0| 54 49 4f 4e 7d 0a 57 68 | 65 6e 20 79 6f 75 72 20 |TION}.Wh|en your |
|00005ff0| 69 6e 70 75 74 20 6c 6f | 6f 70 20 72 65 63 65 69 |input lo|op recei|
|00006000| 76 65 73 20 61 20 4d 55 | 49 56 5c 5f 41 70 70 6c |ves a MU|IV\_Appl|
|00006010| 69 63 61 74 69 6f 6e 5c | 5f 52 65 74 75 72 6e 49 |ication\|_ReturnI|
|00006020| 44 5c 5f 51 75 69 74 2c | 0a 79 6f 75 20 73 68 6f |D\_Quit,|.you sho|
|00006030| 75 6c 64 20 71 75 65 72 | 79 20 74 68 69 73 20 61 |uld quer|y this a|
|00006040| 74 74 72 69 62 75 74 65 | 2e 20 49 6e 20 63 61 73 |ttribute|. In cas|
|00006050| 65 20 69 74 73 20 54 52 | 55 45 2c 20 79 6f 75 72 |e its TR|UE, your|
|00006060| 20 70 72 6f 67 72 61 6d | 0a 73 68 6f 75 6c 64 20 | program|.should |
|00006070| 65 78 69 74 20 71 75 69 | 65 74 6c 79 20 77 69 74 |exit qui|etly wit|
|00006080| 68 6f 75 74 20 70 6f 70 | 70 69 6e 67 20 75 70 20 |hout pop|ping up |
|00006090| 61 6e 79 20 73 61 66 65 | 74 79 20 72 65 71 75 65 |any safe|ty reque|
|000060a0| 73 74 65 72 73 20 6f 72 | 0a 6f 74 68 65 72 20 73 |sters or|.other s|
|000060b0| 74 75 66 66 2e 0a 0a 4d | 55 49 20 77 69 6c 6c 20 |tuff...M|UI will |
|000060c0| 65 2e 67 2e 20 73 65 74 | 20 74 68 69 73 20 69 66 |e.g. set| this if|
|000060d0| 20 74 68 65 20 75 73 65 | 72 20 69 73 73 75 65 64 | the use|r issued|
|000060e0| 20 61 20 27 27 51 55 49 | 54 20 46 4f 52 43 45 27 | a ''QUI|T FORCE'|
|000060f0| 27 20 41 52 65 78 78 0a | 63 6f 6d 6d 61 6e 64 20 |' ARexx.|command |
|00006100| 74 6f 20 79 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |to your |applicat|
|00006110| 69 6f 6e 2e 0a 0a 5c 73 | 75 62 73 65 63 74 69 6f |ion...\s|ubsectio|
|00006120| 6e 5b 4d 55 49 41 5c 5f | 41 70 70 6c 69 63 61 74 |n[MUIA\_|Applicat|
|00006130| 69 6f 6e 5c 5f 48 65 6c | 70 46 69 6c 65 5d 7b 4d |ion\_Hel|pFile]{M|
|00006140| 55 49 41 5c 5f 41 70 70 | 6c 69 63 61 74 69 6f 6e |UIA\_App|lication|
|00006150| 5c 5f 48 65 6c 70 46 69 | 6c 65 20 2d 2d 20 28 56 |\_HelpFi|le -- (V|
|00006160| 38 29 20 5b 49 53 47 5d | 2c 20 53 54 52 50 54 52 |8) [ISG]|, STRPTR|
|00006170| 7d 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |}..\subs|ubsectio|
|00006180| 6e 2a 7b 46 55 4e 43 54 | 49 4f 4e 7d 0a 54 68 69 |n*{FUNCT|ION}.Thi|
|00006190| 73 20 61 74 74 72 69 62 | 75 74 65 20 61 6c 6c 6f |s attrib|ute allo|
|000061a0| 77 73 20 64 65 66 69 6e | 69 6e 67 20 61 6e 20 41 |ws defin|ing an A|
|000061b0| 6d 69 67 61 47 75 69 64 | 65 20 73 74 79 6c 65 20 |migaGuid|e style |
|000061c0| 66 69 6c 65 0a 74 6f 20 | 62 65 20 64 69 73 70 6c |file.to |be displ|
|000061d0| 61 79 65 64 20 77 68 65 | 6e 20 74 68 65 20 75 73 |ayed whe|n the us|
|000061e0| 65 72 20 72 65 71 75 65 | 73 74 73 20 6f 6e 6c 69 |er reque|sts onli|
|000061f0| 6e 65 20 68 65 6c 70 2e | 0a 0a 57 68 65 6e 20 74 |ne help.|..When t|
|00006200| 68 65 20 48 45 4c 50 20 | 62 75 74 74 6f 6e 20 69 |he HELP |button i|
|00006210| 73 20 70 72 65 73 73 65 | 64 20 61 6e 64 20 74 68 |s presse|d and th|
|00006220| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 0a 64 65 |e applic|ation.de|
|00006230| 66 69 6e 65 73 20 61 20 | 4d 55 49 41 5c 5f 41 70 |fines a |MUIA\_Ap|
|00006240| 70 6c 69 63 61 74 69 6f | 6e 5c 5f 48 65 6c 70 46 |plicatio|n\_HelpF|
|00006250| 69 6c 65 2c 20 4d 55 49 | 20 74 72 69 65 73 20 74 |ile, MUI| tries t|
|00006260| 6f 20 6f 62 74 61 69 6e | 0a 4d 55 49 41 5c 5f 48 |o obtain|.MUIA\_H|
|00006270| 65 6c 70 4e 6f 64 65 20 | 66 72 6f 6d 20 74 68 65 |elpNode |from the|
|00006280| 20 63 75 72 72 65 6e 74 | 20 6f 62 6a 65 63 74 20 | current| object |
|00006290| 28 74 68 65 20 6f 6e 65 | 20 75 6e 64 65 72 0a 74 |(the one| under.t|
|000062a0| 68 65 20 6d 6f 75 73 65 | 20 70 6f 69 6e 74 65 72 |he mouse| pointer|
|000062b0| 29 2e 20 49 66 20 4d 55 | 49 41 5c 5f 48 65 6c 70 |). If MU|IA\_Help|
|000062c0| 4e 6f 64 65 20 69 73 20 | 6e 6f 74 20 64 65 66 69 |Node is |not defi|
|000062d0| 6e 65 64 2c 0a 4d 55 49 | 20 63 6f 6e 74 69 6e 75 |ned,.MUI| continu|
|000062e0| 65 73 20 61 73 6b 69 6e | 67 20 74 68 65 20 70 61 |es askin|g the pa|
|000062f0| 72 65 6e 74 20 6f 62 6a | 65 63 74 20 66 6f 72 20 |rent obj|ect for |
|00006300| 74 68 69 73 0a 61 74 74 | 72 69 62 75 74 65 20 28 |this.att|ribute (|
|00006310| 75 73 75 61 6c 6c 79 20 | 61 20 67 72 6f 75 70 2c |usually |a group,|
|00006320| 20 62 75 74 20 72 65 6d | 65 6d 62 65 72 3a 20 74 | but rem|ember: t|
|00006330| 68 65 20 70 61 72 65 6e | 74 0a 6f 66 20 61 20 77 |he paren|t.of a w|
|00006340| 69 6e 64 6f 77 73 20 72 | 6f 6f 74 20 6f 62 6a 65 |indows r|oot obje|
|00006350| 63 74 20 69 73 20 74 68 | 65 20 77 69 6e 64 6f 77 |ct is th|e window|
|00006360| 20 69 74 73 65 6c 66 2c | 20 74 68 65 0a 70 61 72 | itself,| the.par|
|00006370| 65 6e 74 20 6f 66 20 61 | 20 77 69 6e 64 6f 77 20 |ent of a| window |
|00006380| 69 73 20 74 68 65 20 61 | 70 70 6c 69 63 61 74 69 |is the a|pplicati|
|00006390| 6f 6e 29 2e 0a 0a 57 68 | 65 6e 20 61 20 6e 6f 6e |on)...Wh|en a non|
|000063a0| 20 4e 55 4c 4c 20 4d 55 | 49 41 5c 5f 48 65 6c 70 | NULL MU|IA\_Help|
|000063b0| 4e 6f 64 65 20 69 73 20 | 66 6f 75 6e 64 2c 20 74 |Node is |found, t|
|000063c0| 68 65 20 73 61 6d 65 20 | 70 72 6f 63 65 64 75 72 |he same |procedur|
|000063d0| 65 0a 69 73 20 61 70 70 | 6c 69 65 64 20 74 6f 20 |e.is app|lied to |
|000063e0| 4d 55 49 41 5c 5f 48 65 | 6c 70 4c 49 6e 65 2e 20 |MUIA\_He|lpLIne. |
|000063f0| 54 68 65 6e 20 4d 55 49 | 20 70 75 74 73 20 74 68 |Then MUI| puts th|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.